]> git.hungrycats.org Git - linux/commitdiff
Btrfs: remove redundant btrfs_verify_qgroup_counts declaration.
authorFabian Frederick <fabf@skynet.be>
Thu, 25 Sep 2014 21:33:06 +0000 (23:33 +0200)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:15:11 +0000 (08:15 -0500)
Do like disk-io function declared under CONFIG_BTRFS_FS_RUN_SANITY_TESTS
and keep prototype in qgroup.h only

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Chris Mason <clm@fb.com>
(cherry picked from commit 15b636e1dd8f56ef1c580e086e46c8b32d8fe2b4)

fs/btrfs/ctree.h

index 5fc4373c95b16f6b181686135934fd20102a4986..f7555e2767ded7be843456ac9dc83fd55acfe04f 100644 (file)
@@ -4127,8 +4127,6 @@ static inline int btrfs_defrag_cancelled(struct btrfs_fs_info *fs_info)
 /* Sanity test specific functions */
 #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
 void btrfs_test_destroy_inode(struct inode *inode);
-int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid,
-                              u64 rfer, u64 excl);
 #endif
 
 static inline int btrfs_test_is_dummy_root(struct btrfs_root *root)