]> git.baikalelectronics.ru Git - kernel.git/commit
take rlimit check to callers of expand_files()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Aug 2012 20:17:59 +0000 (16:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:08:53 +0000 (21:08 -0400)
commit5e5ae75609a7ddb2a903445569789a4be71d74ce
tree917e0d7c10392a884a0aeda8733bdd2ef8e2c105
parent08bbc1450b837f47b4309ce4dc6841209d4445d3
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>
fs/fcntl.c
fs/file.c