]> err.no Git - linux-2.6/commitdiff
[PATCH] fix ->llseek() for a bunch of directories
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Aug 2008 11:24:41 +0000 (07:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Aug 2008 05:18:09 +0000 (01:18 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/9p/vfs_dir.c
fs/adfs/dir.c
fs/affs/dir.c
fs/autofs4/root.c
fs/befs/linuxvfs.c
fs/xfs/linux-2.6/xfs_file.c

index 88e3787c6ea9957081fa9fcdd05fd008b0f82472..e298fe1940933544f537401d13b8295aaafe3875 100644 (file)
@@ -119,6 +119,7 @@ int v9fs_dir_release(struct inode *inode, struct file *filp)
 
 const struct file_operations v9fs_dir_operations = {
        .read = generic_read_dir,
+       .llseek = generic_file_llseek,
        .readdir = v9fs_dir_readdir,
        .open = v9fs_file_open,
        .release = v9fs_dir_release,
index fc1a8dc64d78a8c8fcd03533739fe83f4b10b25d..85a30e929800aea513f28f3e7dfd6827bb39814f 100644 (file)
@@ -197,6 +197,7 @@ out:
 
 const struct file_operations adfs_dir_operations = {
        .read           = generic_read_dir,
+       .llseek         = generic_file_llseek,
        .readdir        = adfs_readdir,
        .fsync          = file_fsync,
 };
index 6e3f282424b035a59b5add052ce5df098b90eb5f..7b36904dbeac6b4774a6816c7a368c5a61b46741 100644 (file)
@@ -19,6 +19,7 @@ static int affs_readdir(struct file *, void *, filldir_t);
 
 const struct file_operations affs_dir_operations = {
        .read           = generic_read_dir,
+       .llseek         = generic_file_llseek,
        .readdir        = affs_readdir,
        .fsync          = file_fsync,
 };
index bcfb2dc0a61bf56d0e1c4be07612f24454834c08..2a41c2a7fc521fd1f5bac1043077a146ef57c417 100644 (file)
@@ -36,6 +36,7 @@ const struct file_operations autofs4_root_operations = {
        .release        = dcache_dir_close,
        .read           = generic_read_dir,
        .readdir        = dcache_readdir,
+       .llseek         = dcache_dir_lseek,
        .ioctl          = autofs4_root_ioctl,
 };
 
@@ -44,6 +45,7 @@ const struct file_operations autofs4_dir_operations = {
        .release        = dcache_dir_close,
        .read           = generic_read_dir,
        .readdir        = dcache_readdir,
+       .llseek         = dcache_dir_lseek,
 };
 
 const struct inode_operations autofs4_indirect_root_inode_operations = {
index 02c6e62b72f80c031db4ec6d1d248e70a067168c..740f53672a8a6b305911248ce34dafa2cfaac744 100644 (file)
@@ -66,6 +66,7 @@ static struct kmem_cache *befs_inode_cachep;
 static const struct file_operations befs_dir_operations = {
        .read           = generic_read_dir,
        .readdir        = befs_readdir,
+       .llseek         = generic_file_llseek,
 };
 
 static const struct inode_operations befs_dir_inode_operations = {
index 5f60363b93435ff37be57c84b2b250c30ac84e48..5311c1acdd402ab783723b48e14267657752b1d3 100644 (file)
@@ -475,6 +475,7 @@ const struct file_operations xfs_invis_file_operations = {
 const struct file_operations xfs_dir_file_operations = {
        .read           = generic_read_dir,
        .readdir        = xfs_file_readdir,
+       .llseek         = generic_file_llseek,
        .unlocked_ioctl = xfs_file_ioctl,
 #ifdef CONFIG_COMPAT
        .compat_ioctl   = xfs_file_compat_ioctl,