]> 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)
commitaf95e522945debe053116e2cb4ce678d92958442
treec5af64a97a7de3e5cb5fe3d2346d3eb71a434ca8
parentf8b36c2e567f3fdc86e740bbaa644495da8ae3be
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