hugetlbfs: correct some obsolete comments about inode i_mutex
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 24 Feb 2021 20:10:18 +0000 (12:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Feb 2021 21:38:35 +0000 (13:38 -0800)
commit398c0da7364c907ccc662416585c19c5523cf678
treecc79ad685e467533c2adce2f2a17f9c9d4dd22b8
parenta25fddced835ae53d18eb4bddabd719b4cebf624
hugetlbfs: correct some obsolete comments about inode i_mutex

Since commit 9902af79c01a ("parallel lookups: actual switch to rwsem"),
i_mutex of inode is converted to i_rwsem. So replace i_mutex with i_rwsem
to make comments up to date.

Link: https://lkml.kernel.org/r/20210127093111.36672-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hugetlbfs/inode.c