summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorStefan Behrens2013-08-14 18:12:25 +0200
committerChris Mason2013-09-01 14:15:50 +0200
commit35a3621beb3e2face3e7954eaee20a8fa0043fac (patch)
tree2af11fe9a4421f1438de09e687749c25b8d6b37a /fs/btrfs/ctree.h
parentBtrfs: don't miss inode ref items in BTRFS_IOC_INO_LOOKUP (diff)
downloadkernel-qcow2-linux-35a3621beb3e2face3e7954eaee20a8fa0043fac.tar.gz
kernel-qcow2-linux-35a3621beb3e2face3e7954eaee20a8fa0043fac.tar.xz
kernel-qcow2-linux-35a3621beb3e2face3e7954eaee20a8fa0043fac.zip
Btrfs: get rid of sparse warnings
make C=2 fs/btrfs/ CF=-D__CHECK_ENDIAN__ I tried to filter out the warnings for which patches have already been sent to the mailing list, pending for inclusion in btrfs-next. All these changes should be obviously safe. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 9766e9f04024..56f8c1b1016a 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3706,6 +3706,9 @@ int btrfs_defrag_file(struct inode *inode, struct file *file,
u64 newer_than, unsigned long max_pages);
void btrfs_get_block_group_info(struct list_head *groups_list,
struct btrfs_ioctl_space_info *space);
+void update_ioctl_balance_args(struct btrfs_fs_info *fs_info, int lock,
+ struct btrfs_ioctl_balance_args *bargs);
+
/* file.c */
int btrfs_auto_defrag_init(void);