aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorRobbie Ko <[email protected]>2020-07-20 01:42:09 +0000
committerDavid Sterba <[email protected]>2020-07-21 20:08:53 +0000
commit5909ca110b29aa16b23b52b8de8d3bb1035fd738 (patch)
tree234936c92deb13a58c926fa4a0edcbad13e34099 /scripts/gcc-plugins/sancov_plugin.c
parentbtrfs: qgroup: fix data leak caused by race between writeback and truncate (diff)
downloadkernel-5909ca110b29aa16b23b52b8de8d3bb1035fd738.tar.gz
kernel-5909ca110b29aa16b23b52b8de8d3bb1035fd738.zip
btrfs: fix page leaks after failure to lock page for delalloc
When locking pages for delalloc, we check if it's dirty and mapping still matches. If it does not match, we need to return -EAGAIN and release all pages. Only the current page was put though, iterate over all the remaining pages too. CC: [email protected] # 4.14+ Reviewed-by: Filipe Manana <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Robbie Ko <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions