Skip to content

Commit 4f11962

Browse files
William DeanMiklos Szeredi
authored andcommitted
ovl: fix spelling mistakes
fix follow spelling misktakes: decendant ==> descendant indentify ==> identify underlaying ==> underlying Reported-by: Hacash Robot <hacashRobot@santino.com> Signed-off-by: William Dean <williamsukatube@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent dd524b7 commit 4f11962

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

fs/overlayfs/namei.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static int ovl_check_redirect(struct path *path, struct ovl_lookup_data *d,
4242
* One of the ancestor path elements in an absolute path
4343
* lookup in ovl_lookup_layer() could have been opaque and
4444
* that will stop further lookup in lower layers (d->stop=true)
45-
* But we have found an absolute redirect in decendant path
45+
* But we have found an absolute redirect in descendant path
4646
* element and that should force continue lookup in lower
4747
* layers (reset d->stop).
4848
*/
@@ -648,7 +648,7 @@ static int ovl_get_index_name_fh(struct ovl_fh *fh, struct qstr *name)
648648
* If the index dentry for a copy up origin inode is positive, but points
649649
* to an inode different than the upper inode, then either the upper inode
650650
* has been copied up and not indexed or it was indexed, but since then
651-
* index dir was cleared. Either way, that index cannot be used to indentify
651+
* index dir was cleared. Either way, that index cannot be used to identify
652652
* the overlay inode.
653653
*/
654654
int ovl_get_index_name(struct ovl_fs *ofs, struct dentry *origin,

fs/overlayfs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,7 @@ static int ovl_fill_super(struct super_block *sb, void *data, int silent)
20572057
sb->s_stack_depth = 0;
20582058
sb->s_maxbytes = MAX_LFS_FILESIZE;
20592059
atomic_long_set(&ofs->last_ino, 1);
2060-
/* Assume underlaying fs uses 32bit inodes unless proven otherwise */
2060+
/* Assume underlying fs uses 32bit inodes unless proven otherwise */
20612061
if (ofs->config.xino != OVL_XINO_OFF) {
20622062
ofs->xino_mode = BITS_PER_LONG - 32;
20632063
if (!ofs->xino_mode) {

0 commit comments

Comments
 (0)