logfs: no need to lock directory in lseek
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 May 2016 20:24:04 +0000 (16:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 May 2016 15:42:19 +0000 (11:42 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/logfs/dir.c

index c65decae7921a16b2d64687e4ba82b438ffd6284..2d5336bd4efdb20e706a8ffea28d9c2476a54ffe 100644 (file)
@@ -793,5 +793,5 @@ const struct file_operations logfs_dir_fops = {
        .unlocked_ioctl = logfs_ioctl,
        .iterate_shared = logfs_readdir,
        .read           = generic_read_dir,
-       .llseek         = default_llseek,
+       .llseek         = generic_file_llseek,
 };