]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move btrfs_truncate_inode_items to inode-item.c
authorJosef Bacik <josef@toxicpanda.com>
Fri, 3 Dec 2021 22:18:04 +0000 (17:18 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 13:18:24 +0000 (14:18 +0100)
commit2b4bb12dcc6c5f4dfe326dbd303dce946d395b3c
treec5af64a97a7de3e5cb5fe3d2346d3eb71a434ca8
parentd4d4383a4ef0940290c6ec0b56ebe0a794883a3d
btrfs: move btrfs_truncate_inode_items to inode-item.c

This is an inode item related manipulation with a few vfs related
adjustments.  I'm going to remove the vfs related code from this helper
and simplify it a lot, but I want those changes to be easily seen via
git blame, so move this function now and then the simplification work
can be done.

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/ctree.h
fs/btrfs/inode-item.c
fs/btrfs/inode-item.h
fs/btrfs/inode.c