diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-14 12:45:29 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:14 -0400 |
commit | 7f4b36f9bb930b3b2105a9a2cb0121fa7028c432 (patch) | |
tree | a1e532d174e4adc321d9dd85d9c3ac5a6b8d1549 /fs/file_table.c | |
parent | 4d359507346a156491300cc193252b525892ae91 (diff) | |
download | linux-stable-7f4b36f9bb930b3b2105a9a2cb0121fa7028c432.tar.gz linux-stable-7f4b36f9bb930b3b2105a9a2cb0121fa7028c432.tar.bz2 linux-stable-7f4b36f9bb930b3b2105a9a2cb0121fa7028c432.zip |
get rid of files_defer_init()
the only thing it's doing these days is calculation of
upper limit for fs.nr_open sysctl and that can be done
statically
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index ce1504fec5a1..718e8e5224f8 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -325,6 +325,5 @@ void __init files_init(unsigned long mempages) n = (mempages * (PAGE_SIZE / 1024)) / 10; files_stat.max_files = max_t(unsigned long, n, NR_FILE); - files_defer_init(); percpu_counter_init(&nr_files, 0); } |