diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-21 20:11:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:09:58 -0400 |
commit | ad47bd7252bf402fe7dba92f5240b5ed16832ae7 (patch) | |
tree | 1d55eb5934e66b18f7fb7205a9626678975c577a /include | |
parent | b8318b01a8f7f760ae3ecae052ccc7fc123d9508 (diff) | |
download | op-kernel-dev-ad47bd7252bf402fe7dba92f5240b5ed16832ae7.zip op-kernel-dev-ad47bd7252bf402fe7dba92f5240b5ed16832ae7.tar.gz |
make expand_files() and alloc_fd() static
no callers outside of fs/file.c left
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fdtable.h | 1 | ||||
-rw-r--r-- | include/linux/file.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index 9ff2631..de2b71c 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -73,7 +73,6 @@ struct file_operations; struct vfsmount; struct dentry; -extern int expand_files(struct files_struct *, int nr); extern void __init files_defer_init(void); static inline struct file * fcheck_files(struct files_struct *files, unsigned int fd) diff --git a/include/linux/file.h b/include/linux/file.h index 6239591..6eee54a 100644 --- a/include/linux/file.h +++ b/include/linux/file.h @@ -35,7 +35,6 @@ extern int replace_fd(unsigned fd, struct file *file, unsigned flags); extern void set_close_on_exec(unsigned int fd, int flag); extern bool get_close_on_exec(unsigned int fd); extern void put_filp(struct file *); -extern int alloc_fd(unsigned start, unsigned flags); extern int get_unused_fd_flags(unsigned flags); #define get_unused_fd() get_unused_fd_flags(0) extern void put_unused_fd(unsigned int fd); |