diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-21 11:48:11 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:09:57 -0400 |
commit | fe17f22d7fd0e344ef6447238f799bb49f670c6f (patch) | |
tree | 793facbd992c674e55790793ffa912927ae7a766 /include/linux/file.h | |
parent | 6a6d27de340c89c5323565b49f7851362619925d (diff) |
take purely descriptor-related stuff from fcntl.c to file.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/file.h')
-rw-r--r-- | include/linux/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index 86795ec6027d..da84fa0f4579 100644 --- a/include/linux/file.h +++ b/include/linux/file.h | |||
@@ -30,7 +30,9 @@ extern struct file *fget(unsigned int fd); | |||
30 | extern struct file *fget_light(unsigned int fd, int *fput_needed); | 30 | extern struct file *fget_light(unsigned int fd, int *fput_needed); |
31 | extern struct file *fget_raw(unsigned int fd); | 31 | extern struct file *fget_raw(unsigned int fd); |
32 | extern struct file *fget_raw_light(unsigned int fd, int *fput_needed); | 32 | extern struct file *fget_raw_light(unsigned int fd, int *fput_needed); |
33 | extern int f_dupfd(unsigned int from, struct file *file, unsigned flags); | ||
33 | extern void set_close_on_exec(unsigned int fd, int flag); | 34 | extern void set_close_on_exec(unsigned int fd, int flag); |
35 | extern bool get_close_on_exec(unsigned int fd); | ||
34 | extern void put_filp(struct file *); | 36 | extern void put_filp(struct file *); |
35 | extern int alloc_fd(unsigned start, unsigned flags); | 37 | extern int alloc_fd(unsigned start, unsigned flags); |
36 | extern int get_unused_fd_flags(unsigned flags); | 38 | extern int get_unused_fd_flags(unsigned flags); |