diff mbox series

fs: inode: Fix a typo

Message ID 20210607063226.205255-1-lijian_8010a29@163.com (mailing list archive)
State New, archived
Headers show
Series fs: inode: Fix a typo | expand

Commit Message

lijian_8010a29@163.com June 7, 2021, 6:32 a.m. UTC
From: lijian <lijian@yulong.com>

Change 'funtion' to 'function', and
change 'priviledges' to 'privileges'.

Signed-off-by: lijian <lijian@yulong.com>
---
 fs/inode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/fs/inode.c b/fs/inode.c
index c93500d84264..fd00657184f2 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1429,7 +1429,7 @@  EXPORT_SYMBOL(ilookup);
  * function must never block --- find_inode() can block in
  * __wait_on_freeing_inode() --- or when the caller can not increment
  * the reference count because the resulting iput() might cause an
- * inode eviction.  The tradeoff is that the @match funtion must be
+ * inode eviction.  The tradeoff is that the @match function must be
  * very carefully implemented.
  */
 struct inode *find_inode_nowait(struct super_block *sb,
@@ -1926,7 +1926,7 @@  static int __remove_privs(struct user_namespace *mnt_userns,
 }
 
 /*
- * Remove special file priviledges (suid, capabilities) when file is written
+ * Remove special file privileges (suid, capabilities) when file is written
  * to or truncated.
  */
 int file_remove_privs(struct file *file)