aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJaegeuk Kim <[email protected]>2024-01-12 09:11:13 -0800
committerJaegeuk Kim <[email protected]>2024-02-05 18:58:38 -0800
commitc10e8558d49d4ec62d78af1cf2852a1640bea9f7 (patch)
tree5c77d8b8bd2ca5b3a7ad71e47a5b862c7828d714 /tools/perf/scripts/python
parent54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff)
f2fs: remove unnecessary f2fs_put_page in f2fs_rename
[1] changed the below condition, which made f2fs_put_page() voided. This patch reapplies the AL's resolution in -next from [2]. - if (S_ISDIR(old_inode->i_mode)) { + if (old_is_dir && old_dir != new_dir) { old_dir_entry = f2fs_parent_dir(old_inode, &old_dir_page); if (!old_dir_entry) { if (IS_ERR(old_dir_page)) [1] 7deee77b993a ("f2fs: Avoid reading renamed directory if parent does not change") [2] https://lore.kernel.org/all/20231220013402.GW1674809@ZenIV/ Suggested-by: Al Viro <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions