]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add truncate control struct
authorJosef Bacik <josef@toxicpanda.com>
Fri, 3 Dec 2021 22:18:09 +0000 (17:18 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 13:18:24 +0000 (14:18 +0100)
commit8105587b49c527897884db7231964f78376d196c
tree19a889e14a1f4ab9c60901410797639a4392a0af
parent9502e842c90974e4943170177e8dd7abf688a11f
btrfs: add truncate control struct

I'm going to be adding more arguments and counters to
btrfs_truncate_inode_items, so add a control struct to handle all of the
extra arguments to make it easier to follow.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/inode-item.c
fs/btrfs/inode-item.h
fs/btrfs/inode.c
fs/btrfs/tree-log.c