aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-08-14 21:38:21 +0000
committerAl Viro <[email protected]>2024-10-09 15:28:55 +0000
commit6a8126f077f9d1f33613c9fa3dbd9a6774c6c4dd (patch)
tree6297e306d0ce5f4156de070d80fb3c3ea6bb68e8 /fs/file_table.c
parentmake __set_open_fd() set cloexec state as well (diff)
downloadkernel-6a8126f077f9d1f33613c9fa3dbd9a6774c6c4dd.tar.gz
kernel-6a8126f077f9d1f33613c9fa3dbd9a6774c6c4dd.zip
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 <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions