summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2021-08-26 16:04:08 +0300
committerTheodore Ts'o <tytso@mit.edu>2021-08-31 06:36:51 +0300
commit8e33fadf945a918c50d92fab6a769661df484156 (patch)
tree99a040598cd9e5b567257daf16654a08cf971ac7 /tools/perf/scripts/python/stackcollapse.py
parent0904c9ae3465c7acc066a564a76b75c0af83e6c7 (diff)
downloadlinux-8e33fadf945a918c50d92fab6a769661df484156.tar.xz
ext4: remove an unnecessary if statement in __ext4_get_inode_loc()
The "if (!buffer_uptodate(bh))" hunk covered almost the whole code after getting buffer in __ext4_get_inode_loc() which seems unnecessary, remove it and switch to check ext4_buffer_uptodate(), it simplify code and make it more readable. Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20210826130412.3921207-3-yi.zhang@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions