patch-2.4.15 linux/fs/autofs4/inode.c
Next file: linux/fs/block_dev.c
Previous file: linux/fs/affs/super.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Nov 9 14:11:14 2001
- Orig file:
v2.4.14/linux/fs/autofs4/inode.c
- Orig date:
Fri Feb 9 11:29:44 2001
diff -u --recursive --new-file v2.4.14/linux/fs/autofs4/inode.c linux/fs/autofs4/inode.c
@@ -315,8 +315,10 @@
inode->i_nlink = 2;
inode->i_op = &autofs4_dir_inode_operations;
inode->i_fop = &autofs4_dir_operations;
- } else if (S_ISLNK(inf->mode))
+ } else if (S_ISLNK(inf->mode)) {
+ inode->i_size = inf->size;
inode->i_op = &autofs4_symlink_inode_operations;
+ }
return inode;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)