diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-04 15:47:36 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-16 12:16:45 -0500 |
commit | e81e3f4dca6c54116a24aec217d2c15c6f58ada5 (patch) | |
tree | 4cbaf8b4573a4f4dac2dafc2bebffe398a984b3d /fs/file_table.c | |
parent | b75b5086be6504132eadb22a907854e0bf52e365 (diff) |
fs: move get_empty_filp() deffinition to internal.h
All users outside of fs/ of get_empty_filp() have been removed. This patch
moves the definition from the include/ directory to internal.h so no new
users crop up and removes the EXPORT_SYMBOL. I'd love to see open intents
stop using it too, but that's a problem for another day and a smarter
developer!
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 163cd28314e0..361d76be8295 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
@@ -24,6 +24,8 @@ | |||
24 | 24 | ||
25 | #include <asm/atomic.h> | 25 | #include <asm/atomic.h> |
26 | 26 | ||
27 | #include "internal.h" | ||
28 | |||
27 | /* sysctl tunables... */ | 29 | /* sysctl tunables... */ |
28 | struct files_stat_struct files_stat = { | 30 | struct files_stat_struct files_stat = { |
29 | .max_files = NR_FILE | 31 | .max_files = NR_FILE |