]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2372a7b054ca7642941564ee70f28df7852b97d5
treecc79ad685e467533c2adce2f2a17f9c9d4dd22b8
parentcc81831cb5556a56a3b579d815421c591103c54f
hugetlbfs: correct some obsolete comments about inode i_mutex

Since commit 86350cd7ba55 ("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