summaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-03-13 17:07:47 +0000
committerDavid Sterba <dsterba@suse.com>2025-03-18 20:35:56 +0100
commit26558ce574b86e7c81f28f3f10767fcab0f3abb3 (patch)
tree06d4f754071f6a68367ef0f7414f086b8d8c4aea /scripts/generate_rust_analyzer.py
parent37b0c3150bcb72fe51aa7c7660fcb54c06c84427 (diff)
downloadlinux-26558ce574b86e7c81f28f3f10767fcab0f3abb3.tar.gz
linux-26558ce574b86e7c81f28f3f10767fcab0f3abb3.tar.bz2
linux-26558ce574b86e7c81f28f3f10767fcab0f3abb3.zip
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions