]> 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)
commit84e50d879b4768f691777320693192749cd7f72f
tree917e0d7c10392a884a0aeda8733bdd2ef8e2c105
parent18c71645c16ee54b32e97a40bb657a776d10ba24
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