summaryrefslogtreecommitdiff
path: root/super-recover.c
diff options
context:
space:
mode:
authorNicholas D Steeves <nsteeves@gmail.com>2016-05-11 19:50:36 -0400
committerDavid Sterba <dsterba@suse.com>2016-06-01 14:56:56 +0200
commitbd2cc320aff5789fe4034736fa6da8b4ebae475f (patch)
tree72d6d1fe1066bc127d94ce039ddbb08181ba9305 /super-recover.c
parent62c0666378eb70285b6a3052bf4144d2132a5891 (diff)
btrfs-progs: typo review of strings and comments
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'super-recover.c')
-rw-r--r--super-recover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/super-recover.c b/super-recover.c
index e2c3129..88ecdee 100644
--- a/super-recover.c
+++ b/super-recover.c
@@ -316,7 +316,7 @@ int btrfs_recover_superblocks(const char *dname,
ret = 3;
goto no_recover;
}
- /* reset super_bytenr in order that we will rewite all supers */
+ /* reset super_bytenr in order that we will rewrite all supers */
root->fs_info->super_bytenr = BTRFS_SUPER_INFO_OFFSET;
ret = write_all_supers(root);
if (!ret)
@@ -328,7 +328,7 @@ int btrfs_recover_superblocks(const char *dname,
no_recover:
recover_err_str(ret);
free_recover_superblock(&recover);
- /* check if we have freed fs_deivces in close_ctree() */
+ /* check if we have freed fs_devices in close_ctree() */
if (!root)
btrfs_close_devices(recover.fs_devices);
return ret;