]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add an inode-item.h
authorJosef Bacik <josef@toxicpanda.com>
Fri, 3 Dec 2021 22:18:03 +0000 (17:18 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 13:18:23 +0000 (14:18 +0100)
commitf8b36c2e567f3fdc86e740bbaa644495da8ae3be
tree9e3088200b5907be5c7ed5e6b4c1290ca68abae7
parentbe9e23ba330543afc531fe17a6f552efdbc8db42
btrfs: add an inode-item.h

We have a few helpers in inode-item.c, and I'm going to make a few
changes to how we do truncate in the future, so break out these
definitions into their own header file to trim down ctree.h some and
make it easier to do the work on truncate in the future.

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/delayed-inode.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode-item.c
fs/btrfs/inode-item.h [new file with mode: 0644]
fs/btrfs/inode.c
fs/btrfs/relocation.c
fs/btrfs/tree-log.c