diff mbox

[RFC] btrfs: drop_status_lock can be static

Message ID 20151001222624.GA2456@lkp-nex05 (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot Oct. 1, 2015, 10:26 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 extent-tree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 75f499e..0e9a9f1 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -8465,7 +8465,7 @@  static noinline int walk_up_tree(struct btrfs_trans_handle *trans,
 	return 1;
 }
 
-DEFINE_SPINLOCK(drop_status_lock);
+static DEFINE_SPINLOCK(drop_status_lock);
 void btrfs_add_drop_status(struct btrfs_root *root)
 {
 	struct btrfs_fs_info *fs_info = root->fs_info;