]> git.baikalelectronics.ru Git - kernel.git/commit
hugetlbfs: correct obsolete function name in hugetlbfs_read_iter()
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 24 Feb 2021 20:10:08 +0000 (12:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Feb 2021 21:38:35 +0000 (13:38 -0800)
commitfd3b9d658b88b482d705589c948d25b281b72931
treec7a398de05883b1c18a028b8fddc5fd4c5b3932c
parent521abdc3eba6436c418f81c4368cec1e2c19e22d
hugetlbfs: correct obsolete function name in hugetlbfs_read_iter()

Since commit e84ccbcefa75 ("kill do_generic_mapping_read"), the function
do_generic_mapping_read() is renamed to do_generic_file_read(). And then
commit 5c4a09dfc550 ("fs: pass iocb to do_generic_file_read") renamed it
to generic_file_buffered_read(). So replace do_generic_mapping_read() with
generic_file_buffered_read() to keep comment uptodate.

Link: https://lkml.kernel.org/r/20210118063210.47118-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: 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