summaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-09-03 23:53:01 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-23 13:13:21 +0400
commit3222a3e55f4025acb2a5a4379cf2f2b7df1f1243 (patch)
treed12740cd5dc00ae17f7beb63584dd00d7c1fb4cb /fs/jffs2
parent4e9ed2f85af7adfa7c3f0efa839a53186254fdcb (diff)
downloadlinux-3222a3e55f4025acb2a5a4379cf2f2b7df1f1243.tar.xz
[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/jffs2')
-rw-r--r--fs/jffs2/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 621bdfa994e7..6f60cc910f4c 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -39,7 +39,8 @@ const struct file_operations jffs2_dir_operations =
.read = generic_read_dir,
.readdir = jffs2_readdir,
.unlocked_ioctl=jffs2_ioctl,
- .fsync = jffs2_fsync
+ .fsync = jffs2_fsync,
+ .llseek = generic_file_llseek,
};