summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/root-tree.h
Commit message (Collapse)AuthorAgeFilesLines
* btrfs: drop __must_check annotationsDavid Sterba2023-10-121-4/+2
| | | | | | | | Drop all __must_check annotations because they're used in random functions and not consistently. All errors should be handled. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
* btrfs: add fscrypt related dependencies to respective headersJosef Bacik2023-10-121-0/+2
| | | | | | | | | | | | These headers have struct fscrypt_str as function arguments, so add struct fscrypt_str to the theader, and include linux/fscrypt.h in btrfs_inode.h as it also needs the definition of struct fscrypt_name for the new inode args. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
* btrfs: move root tree prototypes to their own headerJosef Bacik2022-12-051-0/+34
Move all the root-tree.c prototypes to root-tree.h, and then update all the necessary files to include the new header. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>