Skip to content

Commit 07c32de

Browse files
Zheng Yongjunrichardweinberger
authored andcommitted
ubifs: Fix spelling mistakes
Fix some spelling mistakes in comments: withoug ==> without numer ==> number aswell ==> as well referes ==> refers childs ==> children unnecesarry ==> unnecessary Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Reviewed-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 819f9ab commit 07c32de

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

fs/ubifs/journal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir,
14321432
/**
14331433
* truncate_data_node - re-compress/encrypt a truncated data node.
14341434
* @c: UBIFS file-system description object
1435-
* @inode: inode which referes to the data node
1435+
* @inode: inode which refers to the data node
14361436
* @block: data block number
14371437
* @dn: data node to re-compress
14381438
* @new_len: new length

fs/ubifs/master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ int ubifs_compare_master_node(struct ubifs_info *c, void *m1, void *m2)
3737
return ret;
3838

3939
/*
40-
* Do not compare the embedded HMAC aswell which also must be different
40+
* Do not compare the embedded HMAC as well which also must be different
4141
* due to the different common node header.
4242
*/
4343
behind = hmac_offs + UBIFS_MAX_HMAC_LEN;

fs/ubifs/replay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ static int apply_replay_entry(struct ubifs_info *c, struct replay_entry *r)
296296
* @b: second replay entry
297297
*
298298
* This is a comparios function for 'list_sort()' which compares 2 replay
299-
* entries @a and @b by comparing their sequence numer. Returns %1 if @a has
299+
* entries @a and @b by comparing their sequence number. Returns %1 if @a has
300300
* greater sequence number and %-1 otherwise.
301301
*/
302302
static int replay_entries_cmp(void *priv, const struct list_head *a,

fs/ubifs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@ const struct super_operations ubifs_super_operations = {
20612061
* @mode: UBI volume open mode
20622062
*
20632063
* The primary method of mounting UBIFS is by specifying the UBI volume
2064-
* character device node path. However, UBIFS may also be mounted withoug any
2064+
* character device node path. However, UBIFS may also be mounted without any
20652065
* character device node using one of the following methods:
20662066
*
20672067
* o ubiX_Y - mount UBI device number X, volume Y;

fs/ubifs/tnc_commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ static int write_index(struct ubifs_info *c)
930930
* flag cleared before %COW_ZNODE. Specifically, it matters in
931931
* the 'dirty_cow_znode()' function. This is the reason for the
932932
* first barrier. Also, we want the bit changes to be seen to
933-
* other threads ASAP, to avoid unnecesarry copying, which is
933+
* other threads ASAP, to avoid unnecessary copying, which is
934934
* the reason for the second barrier.
935935
*/
936936
clear_bit(DIRTY_ZNODE, &znode->flags);

fs/ubifs/ubifs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ struct ubifs_budget_req {
914914
* @rb: rb-tree node of rb-tree of orphans sorted by inode number
915915
* @list: list head of list of orphans in order added
916916
* @new_list: list head of list of orphans added since the last commit
917-
* @child_list: list of xattr childs if this orphan hosts xattrs, list head
917+
* @child_list: list of xattr children if this orphan hosts xattrs, list head
918918
* if this orphan is a xattr, not used otherwise.
919919
* @cnext: next orphan to commit
920920
* @dnext: next orphan to delete

0 commit comments

Comments
 (0)