summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorAl Viro2008-08-24 13:24:41 +0200
committerAl Viro2008-08-25 07:18:09 +0200
commit59af1584bf33810639cb98d79856021253e2177c (patch)
treedbb7261a2abdef5f1716b27417f8b2b61d42b418 /fs/xfs
parent[PATCH] fix regular readdir() and friends (diff)
downloadkernel-qcow2-linux-59af1584bf33810639cb98d79856021253e2177c.tar.gz
kernel-qcow2-linux-59af1584bf33810639cb98d79856021253e2177c.tar.xz
kernel-qcow2-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/xfs')
-rw-r--r--fs/xfs/linux-2.6/xfs_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c
index 5f60363b9343..5311c1acdd40 100644
--- a/fs/xfs/linux-2.6/xfs_file.c
+++ b/fs/xfs/linux-2.6/xfs_file.c
@@ -475,6 +475,7 @@ const struct file_operations xfs_invis_file_operations = {
const struct file_operations xfs_dir_file_operations = {
.read = generic_read_dir,
.readdir = xfs_file_readdir,
+ .llseek = generic_file_llseek,
.unlocked_ioctl = xfs_file_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = xfs_file_compat_ioctl,