Skip to content

Commit 02d91f9

Browse files
committed
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>
1 parent 103c0fb commit 02d91f9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

fs/befs/btree.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds,
242242
* Read the superblock and rootnode of the b+tree.
243243
* Drill down through the interior nodes using befs_find_key().
244244
* 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.
246246
*/
247247
int
248248
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,
400400
* @keysize: Length of the returned key
401401
* @value: Value stored with the returned key
402402
*
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
404404
* return in keybuf/value.
405405
* Bufsize is the size of keybuf (BEFS_NAME_LEN+1 is a good size). Keysize is
406406
* 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,
536536
* @node_off: Pointer to offset of current node within datastream. Modified
537537
* by the function.
538538
*
539-
*
540539
* Helper function for btree traverse. Moves the current position to the
541540
* start of the first leaf node.
542541
*
@@ -710,7 +709,7 @@ befs_bt_get_key(struct super_block *sb, struct befs_btree_node *node,
710709
*
711710
* Returns 0 if @key1 and @key2 are equal.
712711
* Returns >0 if @key1 is greater.
713-
* Returns <0 if @key2 is greater..
712+
* Returns <0 if @key2 is greater.
714713
*/
715714
static int
716715
befs_compare_strings(const void *key1, int keylen1,

0 commit comments

Comments
 (0)