[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210607063226.205255-1-lijian_8010a29@163.com>
Date: Mon, 7 Jun 2021 14:32:26 +0800
From: lijian_8010a29@....com
To: viro@...iv.linux.org.uk
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
lijian <lijian@...ong.com>
Subject: [PATCH] fs: inode: Fix a typo
From: lijian <lijian@...ong.com>
Change 'funtion' to 'function', and
change 'priviledges' to 'privileges'.
Signed-off-by: lijian <lijian@...ong.com>
---
fs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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)
--
2.25.1
Powered by blists - more mailing lists