diff options
author | Jan Kara <[email protected]> | 2013-03-10 22:19:00 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2013-03-10 22:19:00 -0400 |
commit | e1c36595bedc2e1b4112f01256cb30f4d9f9ae46 (patch) | |
tree | f4330bbfa5bc21817d2f58cccb6c234431d73b1d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 3a2256702e47f68f921dfad41b1764d05c572329 (diff) |
ext4: fix WARN_ON from ext4_releasepage()
ext4_releasepage() warns when it is passed a page with PageChecked set.
However this can correctly happen when invalidate_inode_pages2_range()
invalidates pages - and we should fail the release in that case. Since
the page was dirty anyway, it won't be discarded and no harm has
happened but it's good to be safe. Also remove bogus page_has_buffers()
check - we are guaranteed page has buffers in this function.
Reported-by: Zheng Liu <[email protected]>
Tested-by: Zheng Liu <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions