diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-22 04:40:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-14 08:33:39 -0400 |
commit | 30d904947459cca2beb69e0110716f5248b31f2a (patch) | |
tree | 024e2a913266377d234147b14b7eb37017546173 /fs/internal.h | |
parent | a4a3bdd778715999ddfeefdc52ab76254580fa76 (diff) |
kill struct opendata
Just pass struct file *. Methods are happier that way...
There's no need to return struct file * from finish_open() now,
so let it return int. Next: saner prototypes for parts in
namei.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/internal.h b/fs/internal.h index 09003a02292d..8a9f5fa840f1 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -82,9 +82,6 @@ extern struct super_block *user_get_super(dev_t); | |||
82 | /* | 82 | /* |
83 | * open.c | 83 | * open.c |
84 | */ | 84 | */ |
85 | struct opendata { | ||
86 | struct file *filp; | ||
87 | }; | ||
88 | struct open_flags { | 85 | struct open_flags { |
89 | int open_flag; | 86 | int open_flag; |
90 | umode_t mode; | 87 | umode_t mode; |