[PATCH] fix sysctl_nr_open bugs
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 28 Apr 2008 00:04:15 +0000 (20:04 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 May 2008 17:08:57 +0000 (13:08 -0400)
* if luser with root sets it to something that is not a multiple of
  BITS_PER_LONG, the system is screwed.
* if it gets decreased at the wrong time, we can get expand_files()
  returning success and _not_ increasing the size of table as asked.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c

diff --cc fs/file.c
Simple merge