diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-08-14 18:12:25 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 14:15:50 +0200 |
commit | 35a3621beb3e2face3e7954eaee20a8fa0043fac (patch) | |
tree | 2af11fe9a4421f1438de09e687749c25b8d6b37a /fs/btrfs/delayed-ref.c | |
parent | Btrfs: don't miss inode ref items in BTRFS_IOC_INO_LOOKUP (diff) | |
download | linux-35a3621beb3e2face3e7954eaee20a8fa0043fac.tar.xz 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/delayed-ref.c')
-rw-r--r-- | fs/btrfs/delayed-ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/delayed-ref.c b/fs/btrfs/delayed-ref.c index f7be9f76a12b..e4d467be2dd4 100644 --- a/fs/btrfs/delayed-ref.c +++ b/fs/btrfs/delayed-ref.c @@ -241,7 +241,7 @@ int btrfs_delayed_ref_lock(struct btrfs_trans_handle *trans, return 0; } -static void inline drop_delayed_ref(struct btrfs_trans_handle *trans, +static inline void drop_delayed_ref(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_node *ref) { |