Skip to content

Commit

Permalink
ovl: fix comment typos
Browse files Browse the repository at this point in the history
Fix two typos.

Reported-by: k2ci <[email protected]>
Signed-off-by: Jiangshan Yi <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
  • Loading branch information
Jiangshan Yi authored and Miklos Szeredi committed Dec 8, 2022
1 parent 73db6a0 commit cdf5c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/overlayfs/export.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ static struct dentry *ovl_obtain_alias(struct super_block *sb,
return dentry;
}

/* Get the upper or lower dentry in stach whose on layer @idx */
/* Get the upper or lower dentry in stack whose on layer @idx */
static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx)
{
struct ovl_entry *oe = dentry->d_fsdata;
Expand Down
2 changes: 1 addition & 1 deletion fs/overlayfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static char ovl_whatisit(struct inode *inode, struct inode *realinode)
return 'm';
}

/* No atime modificaton nor notify on underlying */
/* No atime modification nor notify on underlying */
#define OVL_OPEN_FLAGS (O_NOATIME | FMODE_NONOTIFY)

static struct file *ovl_open_realfile(const struct file *file,
Expand Down

0 comments on commit cdf5c9d

Please sign in to comment.