]> err.no Git - linux-2.6/commit
[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)
commit5c598b3428c372a1209597cee99a70da20625876
tree2ab9df5d60471e28074e97dca3c97b8c37d626b3
parent2030a42cecd4dd1985a2ab03e25f3cd6106a5ca8
[PATCH] fix sysctl_nr_open bugs

* 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