diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-16 17:39:15 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-18 01:21:28 -0500 |
commit | 0bf71d4d005176f6b6587ba64a377f9798213f21 (patch) | |
tree | 4814d73e0201e92e7aca19b0a45f64b9a9644698 /fs/autofs4/autofs_i.h | |
parent | 09f12c03fa699ce7d030c47add60577138927d4f (diff) | |
download | talos-obmc-linux-0bf71d4d005176f6b6587ba64a377f9798213f21.tar.gz talos-obmc-linux-0bf71d4d005176f6b6587ba64a377f9798213f21.zip |
autofs4: kill ->size in autofs_info
It's used only to pass the length of symlink body to
autofs4_get_inode() in autofs4_dir_symlink(). We can
bloody well set inode->i_size in autofs4_dir_symlink()
directly and be done with that.
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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index c6d66db67ff1..0925bacb5c3c 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -88,8 +88,6 @@ struct autofs_info { uid_t uid; gid_t gid; - - size_t size; }; #define AUTOFS_INF_EXPIRING (1<<0) /* dentry is in the process of expiring */ |