summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2012-12-07 10:28:54 +0100
committerChris Mason <chris.mason@fusionio.com>2012-12-17 02:46:21 +0100
commit5f3ab90a72f98adbf00c50ac2d4d2b47cf4a9685 (patch)
treee73de2c653e9db8e15e426476e5857970135ecdc /fs/btrfs/ctree.h
parentbtrfs: Notify udev when removing device (diff)
downloadlinux-5f3ab90a72f98adbf00c50ac2d4d2b47cf4a9685.tar.xz
linux-5f3ab90a72f98adbf00c50ac2d4d2b47cf4a9685.zip
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/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 6ba56aea5b62..313a6adfde55 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1645,7 +1645,7 @@ struct btrfs_root {
int force_cow;
- spinlock_t root_times_lock;
+ spinlock_t root_item_lock;
};
struct btrfs_ioctl_defrag_range_args {