summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-03-13 20:07:47 +0300
committerDavid Sterba <dsterba@suse.com>2025-03-18 22:35:56 +0300
commit26558ce574b86e7c81f28f3f10767fcab0f3abb3 (patch)
tree06d4f754071f6a68367ef0f7414f086b8d8c4aea /tools/perf/scripts/python
parent37b0c3150bcb72fe51aa7c7660fcb54c06c84427 (diff)
downloadlinux-26558ce574b86e7c81f28f3f10767fcab0f3abb3.tar.xz
btrfs: simplify condition for logging new dentries at btrfs_log_inode_parent()
There's no point in checking if the inode is a directory as ctx->log_new_dentries is only set in case we are logging a directory down the call chain of btrfs_log_inode(). So remove that check making the logic more simple and while at it add a comment about why use a local variable to track if we later need to log new dentries. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions