OSDN Git Service

staging: erofs: no need to take page lock in readdir
authorGao Xiang <gaoxiang25@huawei.com>
Thu, 21 Feb 2019 02:34:10 +0000 (10:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2019 10:52:45 +0000 (11:52 +0100)
commitb2bb112db116585886eccf07d7392d23e1216279
tree12f0f98052c9e57d59e6fe472e1700cfa6ad046c
parent615cba3557f1bad6061acde2067a3edbf80d90c2
staging: erofs: no need to take page lock in readdir

VFS will take inode_lock for readdir, therefore no need to
take page lock in readdir at all just as the majority of
other generic filesystems.

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/dir.c