X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_fs.c;h=3ded1fe8751bdfb8e52aa17daf507bd303702c87;hp=fb3c13010ee93b55653b87cfc60ef2a6909e152a;hb=e8e4b279b5993f98cdba15a517c3e1afe6405412;hpb=394fcf7b50181f9f4bde6748f1870de94c9e0732 diff --git a/yaffs_fs.c b/yaffs_fs.c index fb3c130..3ded1fe 100644 --- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -31,7 +31,7 @@ */ const char *yaffs_fs_c_version = - "$Id: yaffs_fs.c,v 1.38 2005-12-15 20:27:56 charles Exp $"; + "$Id: yaffs_fs.c,v 1.39 2006-01-24 22:22:52 tpoynor Exp $"; extern const char *yaffs_guts_c_version; #include @@ -171,6 +171,10 @@ static struct file_operations yaffs_file_operations = { .mmap = generic_file_mmap, .flush = yaffs_file_flush, .fsync = yaffs_sync_object, +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) + .sendfile = generic_file_sendfile, +#endif + }; static struct inode_operations yaffs_file_inode_operations = {