aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/autofs/inode.c')
-rw-r--r--fs/autofs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c
index c81d6b8c2828..d39d2acd9b38 100644
--- a/fs/autofs/inode.c
+++ b/fs/autofs/inode.c
@@ -241,7 +241,7 @@ static void autofs_read_inode(struct inode *inode)
241 241
242 inode->i_op = &autofs_symlink_inode_operations; 242 inode->i_op = &autofs_symlink_inode_operations;
243 sl = &sbi->symlink[n]; 243 sl = &sbi->symlink[n];
244 inode->u.generic_ip = sl; 244 inode->i_private = sl;
245 inode->i_mode = S_IFLNK | S_IRWXUGO; 245 inode->i_mode = S_IFLNK | S_IRWXUGO;
246 inode->i_mtime.tv_sec = inode->i_ctime.tv_sec = sl->mtime; 246 inode->i_mtime.tv_sec = inode->i_ctime.tv_sec = sl->mtime;
247 inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = 0; 247 inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = 0;