commit | 3222a3e55f4025acb2a5a4379cf2f2b7df1f1243 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Sep 03 21:53:01 2008 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 23 05:13:21 2008 -0400 |
tree | d12740cd5dc00ae17f7beb63584dd00d7c1fb4cb | |
parent | 4e9ed2f85af7adfa7c3f0efa839a53186254fdcb [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>
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c index c0757e9..c7275cf 100644 --- a/fs/omfs/dir.c +++ b/fs/omfs/dir.c
@@ -501,4 +501,5 @@ struct file_operations omfs_dir_operations = { .read = generic_read_dir, .readdir = omfs_readdir, + .llseek = generic_file_llseek, };