diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-08-11 17:15:16 -0400 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-10-08 05:01:34 -0400 |
commit | 02d91f97fdd62e1d01191e3bb1c42092bd807951 (patch) | |
tree | 87a80106b515e6994423110976085bf946ad315b /fs/befs/btree.c | |
parent | 103c0fb3400b3efc74c806db2fd18e9eedc510d5 (diff) |
befs: fix typos in btree.c
Fixing typos in kernel-doc function descriptions in fs/befs/btree.c.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Diffstat (limited to 'fs/befs/btree.c')
-rw-r--r-- | fs/befs/btree.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/befs/btree.c b/fs/befs/btree.c index 0807766d8ba8..7e135ea73fdd 100644 --- a/fs/befs/btree.c +++ b/fs/befs/btree.c | |||
@@ -242,7 +242,7 @@ befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds, | |||
242 | * Read the superblock and rootnode of the b+tree. | 242 | * Read the superblock and rootnode of the b+tree. |
243 | * Drill down through the interior nodes using befs_find_key(). | 243 | * Drill down through the interior nodes using befs_find_key(). |
244 | * Once at the correct leaf node, use befs_find_key() again to get the | 244 | * Once at the correct leaf node, use befs_find_key() again to get the |
245 | * actuall value stored with the key. | 245 | * actual value stored with the key. |
246 | */ | 246 | */ |
247 | int | 247 | int |
248 | befs_btree_find(struct super_block *sb, const befs_data_stream *ds, | 248 | befs_btree_find(struct super_block *sb, const befs_data_stream *ds, |
@@ -400,7 +400,7 @@ befs_find_key(struct super_block *sb, struct befs_btree_node *node, | |||
400 | * @keysize: Length of the returned key | 400 | * @keysize: Length of the returned key |
401 | * @value: Value stored with the returned key | 401 | * @value: Value stored with the returned key |
402 | * | 402 | * |
403 | * Heres how it works: Key_no is the index of the key/value pair to | 403 | * Here's how it works: Key_no is the index of the key/value pair to |
404 | * return in keybuf/value. | 404 | * return in keybuf/value. |
405 | * Bufsize is the size of keybuf (BEFS_NAME_LEN+1 is a good size). Keysize is | 405 | * Bufsize is the size of keybuf (BEFS_NAME_LEN+1 is a good size). Keysize is |
406 | * the number of characters in the key (just a convenience). | 406 | * the number of characters in the key (just a convenience). |
@@ -536,7 +536,6 @@ befs_btree_read(struct super_block *sb, const befs_data_stream *ds, | |||
536 | * @node_off: Pointer to offset of current node within datastream. Modified | 536 | * @node_off: Pointer to offset of current node within datastream. Modified |
537 | * by the function. | 537 | * by the function. |
538 | * | 538 | * |
539 | * | ||
540 | * Helper function for btree traverse. Moves the current position to the | 539 | * Helper function for btree traverse. Moves the current position to the |
541 | * start of the first leaf node. | 540 | * start of the first leaf node. |
542 | * | 541 | * |
@@ -710,7 +709,7 @@ befs_bt_get_key(struct super_block *sb, struct befs_btree_node *node, | |||
710 | * | 709 | * |
711 | * Returns 0 if @key1 and @key2 are equal. | 710 | * Returns 0 if @key1 and @key2 are equal. |
712 | * Returns >0 if @key1 is greater. | 711 | * Returns >0 if @key1 is greater. |
713 | * Returns <0 if @key2 is greater.. | 712 | * Returns <0 if @key2 is greater. |
714 | */ | 713 | */ |
715 | static int | 714 | static int |
716 | befs_compare_strings(const void *key1, int keylen1, | 715 | befs_compare_strings(const void *key1, int keylen1, |