diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-04-04 10:31:22 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-04-28 04:36:54 -0400 |
commit | 180e4d4700b1b7bfdffd9e58ae95220ae9482d17 (patch) | |
tree | 35d2f346ab1997fda3511e4ecbe968bd2e76db37 | |
parent | 6719afdcf808b38145095b2e485c0f90bfc29722 (diff) |
btrfs: fix typos in comments
Correct a typo in the chunk_mutex name to make it grepable.
Since it is better to fix several typos at once, fixing the 2 more in the
same file.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/super.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index dab51118b972..957976d9d627 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -1484,10 +1484,10 @@ static int setup_security_options(struct btrfs_fs_info *fs_info, | |||
1484 | memcpy(&fs_info->security_opts, sec_opts, sizeof(*sec_opts)); | 1484 | memcpy(&fs_info->security_opts, sec_opts, sizeof(*sec_opts)); |
1485 | } else { | 1485 | } else { |
1486 | /* | 1486 | /* |
1487 | * Since SELinux(the only one supports security_mnt_opts) does | 1487 | * Since SELinux (the only one supporting security_mnt_opts) |
1488 | * NOT support changing context during remount/mount same sb, | 1488 | * does NOT support changing context during remount/mount of |
1489 | * This must be the same or part of the same security options, | 1489 | * the same sb, this must be the same or part of the same |
1490 | * just free it. | 1490 | * security options, just free it. |
1491 | */ | 1491 | */ |
1492 | security_free_mnt_opts(sec_opts); | 1492 | security_free_mnt_opts(sec_opts); |
1493 | } | 1493 | } |
@@ -1665,8 +1665,8 @@ static inline void btrfs_remount_cleanup(struct btrfs_fs_info *fs_info, | |||
1665 | unsigned long old_opts) | 1665 | unsigned long old_opts) |
1666 | { | 1666 | { |
1667 | /* | 1667 | /* |
1668 | * We need cleanup all defragable inodes if the autodefragment is | 1668 | * We need to cleanup all defragable inodes if the autodefragment is |
1669 | * close or the fs is R/O. | 1669 | * close or the filesystem is read only. |
1670 | */ | 1670 | */ |
1671 | if (btrfs_raw_test_opt(old_opts, AUTO_DEFRAG) && | 1671 | if (btrfs_raw_test_opt(old_opts, AUTO_DEFRAG) && |
1672 | (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || | 1672 | (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || |
@@ -2049,7 +2049,7 @@ static int btrfs_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
2049 | u64 thresh = 0; | 2049 | u64 thresh = 0; |
2050 | 2050 | ||
2051 | /* | 2051 | /* |
2052 | * holding chunk_muext to avoid allocating new chunks, holding | 2052 | * holding chunk_mutex to avoid allocating new chunks, holding |
2053 | * device_list_mutex to avoid the device being removed | 2053 | * device_list_mutex to avoid the device being removed |
2054 | */ | 2054 | */ |
2055 | rcu_read_lock(); | 2055 | rcu_read_lock(); |