aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorDaeho Jeong <[email protected]>2021-01-06 08:49:28 +0900
committerJaegeuk Kim <[email protected]>2021-01-27 15:20:04 -0800
commitdf0736d70c4fa6ed711ba103b61880fe72bb4777 (patch)
tree6ef84771951a3c19be9495f42472d260989a3b94 /tools/perf/util/scripting-engines/trace-event-perl.c
parent7f59b277f79e8aacaa2ec7e549be6c27985c27f2 (diff)
f2fs: fix null page reference in redirty_blocks
By Colin's static analysis, we found out there is a null page reference under low memory situation in redirty_blocks. I've made the page finding loop stop immediately and return an error not to cause further memory pressure when we run into a failure to find a page under low memory condition. Signed-off-by: Daeho Jeong <[email protected]> Reported-by: Colin Ian King <[email protected]> Fixes: 5fdb322ff2c2 ("f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE") Reviewed-by: Colin Ian King <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions