summaryrefslogtreecommitdiff
path: root/file.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 /file.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 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 0e9253ee..dd0b04b8 100644
--- a/file.c
+++ b/file.c
@@ -52,7 +52,7 @@ int btrfs_get_extent(struct btrfs_trans_handle *trans,
if (ret <= 0)
goto out;
if (ret > 0) {
- /* Check preivous file extent */
+ /* Check previous file extent */
ret = btrfs_previous_item(root, path, ino,
BTRFS_EXTENT_DATA_KEY);
if (ret < 0)
@@ -111,7 +111,7 @@ check_next:
not_found = 1;
/*
- * To keep the search hehavior consistent with search_slot(),
+ * To keep the search behavior consistent with search_slot(),
* we need to go back to the prev leaf's nritem slot if
* we are at the first slot of the leaf.
*/