summaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-08-24 07:24:41 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-08-25 01:18:09 -0400
commit59af1584bf33810639cb98d79856021253e2177c (patch)
treedbb7261a2abdef5f1716b27417f8b2b61d42b418 /fs/9p/vfs_dir.c
parent8f3f655da7288504c1013621090ecc940173ae1c (diff)
downloadlinux-59af1584bf33810639cb98d79856021253e2177c.tar.gz
linux-59af1584bf33810639cb98d79856021253e2177c.tar.bz2
linux-59af1584bf33810639cb98d79856021253e2177c.zip
[PATCH] fix ->llseek() for a bunch of directories
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/vfs_dir.c')
-rw-r--r--fs/9p/vfs_dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c
index 88e3787c6ea9..e298fe194093 100644
--- a/fs/9p/vfs_dir.c
+++ b/fs/9p/vfs_dir.c
@@ -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,