diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-17 00:47:38 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-18 01:21:27 -0500 |
commit | 292c5ee802e9b969b84ee671a5e3001d94230f5b (patch) | |
tree | 616b0a583d17c50aedbb87082943248333d63c2b /fs/autofs4/autofs_i.h | |
parent | c0bcc9d55252012805300ca01b9b7a143b4daf85 (diff) |
autofs4: keep symlink body in inode->i_private
gets rid of all ->free()/->u.symlink machinery in autofs; we simply
keep symlink bodies in inode->i_private and free them in ->evict_inode().
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r-- | fs/autofs4/autofs_i.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 1f016bfb42d5..99a4af8d9c83 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h | |||
@@ -91,11 +91,6 @@ struct autofs_info { | |||
91 | 91 | ||
92 | mode_t mode; | 92 | mode_t mode; |
93 | size_t size; | 93 | size_t size; |
94 | |||
95 | void (*free)(struct autofs_info *); | ||
96 | union { | ||
97 | const char *symlink; | ||
98 | } u; | ||
99 | }; | 94 | }; |
100 | 95 | ||
101 | #define AUTOFS_INF_EXPIRING (1<<0) /* dentry is in the process of expiring */ | 96 | #define AUTOFS_INF_EXPIRING (1<<0) /* dentry is in the process of expiring */ |