ceph: remove stale check in ceph_invalidatepage()
authorYan, Zheng <zyan@redhat.com>
Wed, 30 Aug 2017 03:27:29 +0000 (11:27 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:55 +0000 (19:56 +0200)
commitb072d774664b690768bdf7e068ee95a161e5f107
tree98a0e3bc2f6b3465b9563422b179eeefc66d8d0d
parent3ae0bebc49b3fb3c9fa9b62b95c5119a04aa7282
ceph: remove stale check in ceph_invalidatepage()

Both set_page_dirty and truncate_complete_page should be called
for locked page, they can't race with each other.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c