diff options
author | Yan, Zheng <[email protected]> | 2010-12-06 07:02:36 +0000 |
---|---|---|
committer | Chris Mason <[email protected]> | 2010-12-10 16:29:09 -0500 |
commit | 24ae63656a165c870c0d69fcc8aac1dc35e25e34 (patch) | |
tree | 8833bfeba51ef45e0acc42f3a23838f528e6a37e /lib/cpu-notifier-error-inject.c | |
parent | 84cd948cb11041f205242de457e680b9bb872a36 (diff) |
Btrfs: Fix page leak in compressed writeback path
"start + num_bytes >= actual_end" can happen when compressed page writeback races
with file truncation. In that case we need unlock and release pages past the end
of file.
Signed-off-by: Yan, Zheng <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions