summaryrefslogtreecommitdiffstats
path: root/fs/omfs/dir.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-09-03 21:53:01 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-23 11:13:21 +0200
commit3222a3e55f4025acb2a5a4379cf2f2b7df1f1243 (patch)
treed12740cd5dc00ae17f7beb63584dd00d7c1fb4cb /fs/omfs/dir.c
parent[PATCH vfs-2.6 6/6] vfs: add LOOKUP_RENAME_TARGET intent (diff)
downloadlinux-3222a3e55f4025acb2a5a4379cf2f2b7df1f1243.tar.xz
linux-3222a3e55f4025acb2a5a4379cf2f2b7df1f1243.zip
[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/omfs/dir.c')
-rw-r--r--fs/omfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
index c0757e998876..c7275cfbdcfb 100644
--- a/fs/omfs/dir.c
+++ b/fs/omfs/dir.c
@@ -501,4 +501,5 @@ struct inode_operations omfs_dir_inops = {
struct file_operations omfs_dir_operations = {
.read = generic_read_dir,
.readdir = omfs_readdir,
+ .llseek = generic_file_llseek,
};