aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2012-12-07 04:28:54 -0500
committerChris Mason <chris.mason@fusionio.com>2012-12-16 20:46:21 -0500
commit5f3ab90a72f98adbf00c50ac2d4d2b47cf4a9685 (patch)
treee73de2c653e9db8e15e426476e5857970135ecdc /fs/btrfs/disk-io.c
parentb8b8ff590f99678616f9ea85f5088542d1cfc0be (diff)
Btrfs: rename root_times_lock to root_item_lock
Originally root_times_lock was introduced as part of send/receive code however newly developed patch to label the subvol reused the same lock, so renaming it for a meaningful name. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 3229531af8c3..faf182691b40 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1204,7 +1204,7 @@ static void __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize,
1204 root->root_key.objectid = objectid; 1204 root->root_key.objectid = objectid;
1205 root->anon_dev = 0; 1205 root->anon_dev = 0;
1206 1206
1207 spin_lock_init(&root->root_times_lock); 1207 spin_lock_init(&root->root_item_lock);
1208} 1208}
1209 1209
1210static int __must_check find_and_setup_root(struct btrfs_root *tree_root, 1210static int __must_check find_and_setup_root(struct btrfs_root *tree_root,