diff options
author | 2019-07-24 10:26:09 +0800 | |
---|---|---|
committer | 2019-08-22 10:47:41 +0200 | |
commit | c95f1c5f436badb9bb87e9b30fd573f6b3d59423 (patch) | |
tree | 368586876392f1780d9af7335c7edfec08015d67 /scripts/gdb/linux/utils.py | |
parent | ceph: fix buffer free while holding i_ceph_lock in fill_inode() (diff) | |
download | wireguard-linux-c95f1c5f436badb9bb87e9b30fd573f6b3d59423.tar.xz wireguard-linux-c95f1c5f436badb9bb87e9b30fd573f6b3d59423.zip |
ceph: clear page dirty before invalidate page
clear_page_dirty_for_io(page) before mapping->a_ops->invalidatepage().
invalidatepage() clears page's private flag, if dirty flag is not
cleared, the page may cause BUG_ON failure in ceph_set_page_dirty().
Cc: stable@vger.kernel.org
Link: https://tracker.ceph.com/issues/40862
Signed-off-by: Erqi Chen <chenerqi@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions