aboutsummaryrefslogtreecommitdiff
path: root/crypto/twofish_generic.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2022-10-11 13:17:01 +0100
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:39 +0100
commitceb707da9ad92ad3a5251dc13844034ded06cb3d (patch)
treeca949f905638cb25a7979b9d94d568d669f74cc7 /crypto/twofish_generic.c
parenta0a5472ad802d99d3fb4b361cc3fb5ea24914ee0 (diff)
btrfs: directly pass the inode to btrfs_is_data_extent_shared()
Currently we pass a root and an inode number as arguments for btrfs_is_data_extent_shared() and the inode number is always from an inode that belongs to that root (it wouldn't make sense otherwise). In every context that we call btrfs_is_data_extent_shared() (fiemap only), we have an inode available, so directly pass the inode to the function instead of a root and inode number. This reduces the number of parameters and it makes the function's signature conform to most other functions we have. Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto/twofish_generic.c')
0 files changed, 0 insertions, 0 deletions