aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-04-12 15:50:21 +0200
committerJan Kara <jack@suse.cz>2021-07-12 18:31:16 +0200
commit9608703e488cf7a711c42c7ccd981c32377f7b78 (patch)
treea8d1ede6b0932cad4588fa242ce258defc4ffed7 /mm/memory-failure.c
parentLinux 5.14-rc1 (diff)
downloadlinux-dev-9608703e488cf7a711c42c7ccd981c32377f7b78.tar.xz
linux-dev-9608703e488cf7a711c42c7ccd981c32377f7b78.zip
mm: Fix comments mentioning i_mutex
inode->i_mutex has been replaced with inode->i_rwsem long ago. Fix comments still mentioning i_mutex. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index eefd823deb67..0edce65731f7 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -866,7 +866,7 @@ static int me_pagecache_clean(struct page *p, unsigned long pfn)
/*
* Truncation is a bit tricky. Enable it per file system for now.
*
- * Open: to take i_mutex or not for this? Right now we don't.
+ * Open: to take i_rwsem or not for this? Right now we don't.
*/
ret = truncate_error_page(p, pfn, mapping);
out: