mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
take rlimit check to callers of expand_files()
... except for one in android, where the check is different and already done in caller. No need to recalculate rlimit many times in alloc_fd() either. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
352e3b2492
commit
f33ff9927f
2 changed files with 12 additions and 7 deletions
16
fs/file.c
16
fs/file.c
Loading…
Add table
Add a link
Reference in a new issue