diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index d3c6bbc0aa3a..368a5b9e6c13 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -93,7 +93,7 @@ const char *btrfs_decode_error(int errno) | |||
93 | 93 | ||
94 | /* | 94 | /* |
95 | * __btrfs_handle_fs_error decodes expected errors from the caller and | 95 | * __btrfs_handle_fs_error decodes expected errors from the caller and |
96 | * invokes the approciate error response. | 96 | * invokes the appropriate error response. |
97 | */ | 97 | */ |
98 | __cold | 98 | __cold |
99 | void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, | 99 | void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function, |
@@ -151,7 +151,7 @@ void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function | |||
151 | * although there is no way to update the progress. It would add the | 151 | * although there is no way to update the progress. It would add the |
152 | * risk of a deadlock, therefore the canceling is omitted. The only | 152 | * risk of a deadlock, therefore the canceling is omitted. The only |
153 | * penalty is that some I/O remains active until the procedure | 153 | * penalty is that some I/O remains active until the procedure |
154 | * completes. The next time when the filesystem is mounted writeable | 154 | * completes. The next time when the filesystem is mounted writable |
155 | * again, the device replace operation continues. | 155 | * again, the device replace operation continues. |
156 | */ | 156 | */ |
157 | } | 157 | } |
@@ -1848,7 +1848,7 @@ static int btrfs_remount(struct super_block *sb, int *flags, char *data) | |||
1848 | 1848 | ||
1849 | if (!btrfs_check_rw_degradable(fs_info, NULL)) { | 1849 | if (!btrfs_check_rw_degradable(fs_info, NULL)) { |
1850 | btrfs_warn(fs_info, | 1850 | btrfs_warn(fs_info, |
1851 | "too many missing devices, writeable remount is not allowed"); | 1851 | "too many missing devices, writable remount is not allowed"); |
1852 | ret = -EACCES; | 1852 | ret = -EACCES; |
1853 | goto restore; | 1853 | goto restore; |
1854 | } | 1854 | } |
@@ -2312,7 +2312,7 @@ static int btrfs_show_devname(struct seq_file *m, struct dentry *root) | |||
2312 | * device_list_mutex here as we only read the device data and the list | 2312 | * device_list_mutex here as we only read the device data and the list |
2313 | * is protected by RCU. Even if a device is deleted during the list | 2313 | * is protected by RCU. Even if a device is deleted during the list |
2314 | * traversals, we'll get valid data, the freeing callback will wait at | 2314 | * traversals, we'll get valid data, the freeing callback will wait at |
2315 | * least until until the rcu_read_unlock. | 2315 | * least until the rcu_read_unlock. |
2316 | */ | 2316 | */ |
2317 | rcu_read_lock(); | 2317 | rcu_read_lock(); |
2318 | cur_devices = fs_info->fs_devices; | 2318 | cur_devices = fs_info->fs_devices; |