Hi Andrew!

This patch adds generic_file_llseek to fuse_file_operations and
fuse_dir_operations, replacing the implicit default_llseek.

Please Apply.

Thanks,
Miklos

Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>

diff -rup linux-2.6.11-mm1/fs/fuse/dir.c linux-fuse/fs/fuse/dir.c
--- linux-2.6.11-mm1/fs/fuse/dir.c      2005-03-04 23:26:59.000000000 +0100
+++ linux-fuse/fs/fuse/dir.c    2005-03-04 23:32:36.000000000 +0100
@@ -894,6 +894,7 @@ static struct inode_operations fuse_dir_
 };
 
 static struct file_operations fuse_dir_operations = {
+       .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
        .readdir        = fuse_readdir,
        .open           = fuse_dir_open,
diff -rup linux-2.6.11-mm1/fs/fuse/file.c linux-fuse/fs/fuse/file.c
--- linux-2.6.11-mm1/fs/fuse/file.c     2005-03-04 23:26:59.000000000 +0100
+++ linux-fuse/fs/fuse/file.c   2005-03-04 23:32:36.000000000 +0100
@@ -517,6 +517,7 @@ static int fuse_set_page_dirty(struct pa
 }
 
 static struct file_operations fuse_file_operations = {
+       .llseek         = generic_file_llseek,
        .read           = fuse_file_read,
        .write          = fuse_file_write,
        .mmap           = fuse_file_mmap,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to