]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
expand_files(): simplify calling conventions
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 14 Aug 2024 21:38:21 +0000 (17:38 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 9 Oct 2024 15:28:55 +0000 (11:28 -0400)
commit6a8126f077f9d1f33613c9fa3dbd9a6774c6c4dd
tree6297e306d0ce5f4156de070d80fb3c3ea6bb68e8
parentb8ea429d7249253ec1fe90dffc648f0668d12385
expand_files(): simplify calling conventions

All callers treat 0 and 1 returned by expand_files() in the same way
now since the call in alloc_fd() had been made conditional.  Just make
it return 0 on success and be done with it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c