diff options
Diffstat (limited to 'fs/autofs4/inode.c')
-rw-r--r-- | fs/autofs4/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 6b6f43f00c46..ac1a99ce820b 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -38,7 +38,6 @@ struct autofs_info *autofs4_init_ino(struct autofs_info *ino, | |||
38 | if (!reinit) { | 38 | if (!reinit) { |
39 | ino->flags = 0; | 39 | ino->flags = 0; |
40 | ino->dentry = NULL; | 40 | ino->dentry = NULL; |
41 | ino->size = 0; | ||
42 | INIT_LIST_HEAD(&ino->active); | 41 | INIT_LIST_HEAD(&ino->active); |
43 | ino->active_count = 0; | 42 | ino->active_count = 0; |
44 | INIT_LIST_HEAD(&ino->expiring); | 43 | INIT_LIST_HEAD(&ino->expiring); |
@@ -365,7 +364,6 @@ struct inode *autofs4_get_inode(struct super_block *sb, | |||
365 | inode->i_op = &autofs4_dir_inode_operations; | 364 | inode->i_op = &autofs4_dir_inode_operations; |
366 | inode->i_fop = &autofs4_dir_operations; | 365 | inode->i_fop = &autofs4_dir_operations; |
367 | } else if (S_ISLNK(mode)) { | 366 | } else if (S_ISLNK(mode)) { |
368 | inode->i_size = inf->size; | ||
369 | inode->i_op = &autofs4_symlink_inode_operations; | 367 | inode->i_op = &autofs4_symlink_inode_operations; |
370 | } | 368 | } |
371 | 369 | ||