]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 22 Aug 2012 21:30:16 +0000 (17:30 -0400)
commit56daa6418495bde0e9a80595d1a2c3fa28d3357a
treedc4901a0709b9aa92caa4dc50ee4b754c123ccde
parent61a13846b56fb1c2bb3dbf635883550f3314fd15
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