diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-12 19:22:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-12 19:22:25 -0700 |
| commit | a16129b8509728ae92ce205114ab453509e200f0 (patch) | |
| tree | 319f039762eec16abed44ea4e8d759dd073cf2ed /include/linux | |
| parent | c2bd12474ca2323e84fa40eed61de4fc8311d4a3 (diff) | |
[PATCH] get_files_struct cleanup
From: Russell King <rmk@arm.linux.org.uk>
Cleanup the 4 duplicate "get_files_struct" implementations into one
get_files_struct() function to compliment put_files_struct().
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index a488f738f9f0..b3fbadf31eed 100644 --- a/include/linux/file.h +++ b/include/linux/file.h @@ -75,6 +75,10 @@ static inline struct file * fcheck_files(struct files_struct *files, unsigned in #define fcheck(fd) fcheck_files(current->files, fd) extern void FASTCALL(fd_install(unsigned int fd, struct file * file)); + +struct task_struct; + +struct files_struct *get_files_struct(struct task_struct *); void FASTCALL(put_files_struct(struct files_struct *fs)); #endif /* __LINUX_FILE_H */ |
