linux/fs/sysv
Fabio M. De Francesco d0e135408e highmem: Rename put_and_unmap_page() to unmap_and_put_page()
With commit 849ad04cf5 ("new helper: put_and_unmap_page()"), Al Viro
introduced the put_and_unmap_page() to use in those many places where we
have a common pattern consisting of calls to kunmap_local() +
put_page().

Obviously, first we unmap and then we put pages. Instead, the original
name of this helper seems to imply that we first put and then unmap.

Therefore, rename the helper and change the only known upstreamed user
(i.e., fs/sysv) before this helper enters common use and might become
difficult to find all call sites and instead easy to break the builds.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Message-Id: <20230602103307.5637-1-fmdefrancesco@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-06-05 13:51:00 +02:00
..
balloc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dir.c highmem: Rename put_and_unmap_page() to unmap_and_put_page() 2023-06-05 13:51:00 +02:00
file.c fs: port ->setattr() to pass mnt_idmap 2023-01-19 09:24:02 +01:00
ialloc.c fs: port inode_init_owner() to mnt_idmap 2023-01-19 09:24:28 +01:00
inode.c fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
itree.c fs/sysv: Null check to prevent null-ptr-deref bug 2023-06-01 09:51:06 +02:00
Kconfig docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c highmem: Rename put_and_unmap_page() to unmap_and_put_page() 2023-06-05 13:51:00 +02:00
super.c fs: sysv: check sbi->s_firstdatazone in complete_read_super 2022-04-29 14:38:04 -07:00
sysv.h sysv: switch to put_and_unmap_page() 2023-03-12 20:03:41 -04:00