]> git.hungrycats.org Git - linux/commit
[PATCH] file_table: remove the private freelist
authorAndrew Morton <akpm@digeo.com>
Tue, 18 Mar 2003 05:16:31 +0000 (21:16 -0800)
committerDave Jones <davej@codemonkey.org.uk>
Tue, 18 Mar 2003 05:16:31 +0000 (21:16 -0800)
commit4cac8a2859015b387c419e2a6d3bccb7eda04642
treee43ae8e42acb1608a2870bc8df240484353aef62
parentd684d33e45a1aa8b307b088f88de1346b10e9d2f
[PATCH] file_table: remove the private freelist

- Remove the private freelist.  There's no point in special-casing file
  structure allocations in this way.

- Hence the freeing of files can be moved outside file_list_lock()

- Replace euid test with capable(CAP_SYS_ADMIN).

- Tidy various other things up.
fs/file_table.c