summaryrefslogtreecommitdiff
path: root/fs/btrfs/root-tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-08-25 16:19:26 -0400
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:02 +0200
commit04cc63d12c788e75e2d1a3850b8425724a7fe739 (patch)
tree39abc58eaaaf7b9144b6417b5d9b2f10fb178642 /fs/btrfs/root-tree.h
parent3ecb43cb64597f1c645efe8e4d1caff3557e98c4 (diff)
btrfs: add fscrypt related dependencies to respective headers
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>
Diffstat (limited to 'fs/btrfs/root-tree.h')
-rw-r--r--fs/btrfs/root-tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/root-tree.h b/fs/btrfs/root-tree.h
index cbbaca32126e..eb15768b9170 100644
--- a/fs/btrfs/root-tree.h
+++ b/fs/btrfs/root-tree.h
@@ -3,6 +3,8 @@
#ifndef BTRFS_ROOT_TREE_H
#define BTRFS_ROOT_TREE_H
+struct fscrypt_str;
+
int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
struct btrfs_block_rsv *rsv,
int nitems, bool use_global_rsv);