staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page
commit047d4abc4df740d48e0386ecc7d52f6d312187af
authorGao Xiang <gaoxiang25@huawei.com>
Sat, 16 Feb 2019 08:46:50 +0000 (16 16:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 10:20:55 +0000 (20 11:20 +0100)
tree2fc951253a5a49101c2f01e70d345c3733314501
parent62dc45979f3f8cb0ea67302a93bff686f0c46c5a
staging: erofs: remove rcu_read_lock() in erofs_try_to_free_cached_page

page_private(page) cannot be changed if page lock is taken.

Besides, the corresponding workgroup won't be freed
if the page is already protected by page lock, therefore
no need to take rcu read lock.

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/unzip_vle.c