]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
simplify the callers of file_open_name()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 25 Sep 2025 21:11:36 +0000 (17:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Jan 2026 20:18:08 +0000 (15:18 -0500)
commit47b3b9bf93ec66ec2443f553c22e12e0475f1395
treec527740dc29c6c8d016363738c35b0f337dcbed5
parent151e3257d61941ac07a7daacdb66ddc645f6ca34
simplify the callers of file_open_name()

It accepts ERR_PTR() for name and does the right thing in that case.
That allows to simplify the logics in callers, making them trivial
to switch to CLASS(filename).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c
kernel/acct.c
mm/huge_memory.c
mm/swapfile.c