diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-08 19:42:56 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-16 17:22:26 -0400 |
commit | 02afc6267f6d55d47aba9fcafdbd1b7230d2294a (patch) | |
tree | f8cd675baf512fa6f6d561a5bccc0447bec2ff8b /include/linux | |
parent | f52111b1546943545e67573c4dde1c7613ca33d3 (diff) | |
download | op-kernel-dev-02afc6267f6d55d47aba9fcafdbd1b7230d2294a.zip op-kernel-dev-02afc6267f6d55d47aba9fcafdbd1b7230d2294a.tar.gz |
[PATCH] dup_fd() fixes, part 1
Move the sucker to fs/file.c in preparation to the rest
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fdtable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index a118f3c..4aab6f1 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -93,6 +93,7 @@ struct files_struct *get_files_struct(struct task_struct *); void put_files_struct(struct files_struct *fs); void reset_files_struct(struct files_struct *); int unshare_files(struct files_struct **); +struct files_struct *dup_fd(struct files_struct *, int *); extern struct kmem_cache *files_cachep; |