aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2025-03-13 17:07:47 +0000
committerDavid Sterba <[email protected]>2025-03-18 19:35:56 +0000
commit26558ce574b86e7c81f28f3f10767fcab0f3abb3 (patch)
tree06d4f754071f6a68367ef0f7414f086b8d8c4aea /drivers/fpga/tests
parentbtrfs: remove redundant else statement from btrfs_log_inode_parent() (diff)
downloadkernel-26558ce574b86e7c81f28f3f10767fcab0f3abb3.tar.gz
kernel-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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions