summaryrefslogtreecommitdiffstats
path: root/fs/affs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-08-24 13:24:41 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2008-08-25 07:18:09 +0200
commit59af1584bf33810639cb98d79856021253e2177c (patch)
treedbb7261a2abdef5f1716b27417f8b2b61d42b418 /fs/affs/dir.c
parent[PATCH] fix regular readdir() and friends (diff)
downloadlinux-59af1584bf33810639cb98d79856021253e2177c.tar.xz
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/affs/dir.c')
-rw-r--r--fs/affs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/affs/dir.c b/fs/affs/dir.c
index 6e3f282424b0..7b36904dbeac 100644
--- a/fs/affs/dir.c
+++ b/fs/affs/dir.c
@@ -19,6 +19,7 @@ static int affs_readdir(struct file *, void *, filldir_t);
const struct file_operations affs_dir_operations = {
.read = generic_read_dir,
+ .llseek = generic_file_llseek,
.readdir = affs_readdir,
.fsync = file_fsync,
};