aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-09-03 15:53:01 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-23 05:13:21 -0400
commit3222a3e55f4025acb2a5a4379cf2f2b7df1f1243 (patch)
treed12740cd5dc00ae17f7beb63584dd00d7c1fb4cb /fs/afs
parent4e9ed2f85af7adfa7c3f0efa839a53186254fdcb (diff)
[PATCH] fix ->llseek for more directories
With this patch all directory fops instances that have a readdir that doesn't take the BKL are switched to generic_file_llseek. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c
index dfda03d4397d..99cf390641f7 100644
--- a/fs/afs/dir.c
+++ b/fs/afs/dir.c
@@ -45,6 +45,7 @@ const struct file_operations afs_dir_file_operations = {
45 .release = afs_release, 45 .release = afs_release,
46 .readdir = afs_readdir, 46 .readdir = afs_readdir,
47 .lock = afs_lock, 47 .lock = afs_lock,
48 .llseek = generic_file_llseek,
48}; 49};
49 50
50const struct inode_operations afs_dir_inode_operations = { 51const struct inode_operations afs_dir_inode_operations = {