commit | 61ba64fc0768879a300599b011c176203bdf27d9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat May 02 09:54:06 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 10 22:18:20 2015 -0400 |
tree | d04c61005dabd79e05edca9ed87c88c0a04905da | |
parent | a7a67e8a089e25ef48ab01dd34ce82678ef70f11 [diff] [blame] |
libfs: simple_follow_link() let "fast" symlinks store the pointer to the body into ->i_link and use simple_follow_link for ->follow_link() Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/inode.c b/fs/inode.c index ea37cd1..952fb48 100644 --- a/fs/inode.c +++ b/fs/inode.c
@@ -152,6 +152,7 @@ inode->i_pipe = NULL; inode->i_bdev = NULL; inode->i_cdev = NULL; + inode->i_link = NULL; inode->i_rdev = 0; inode->dirtied_when = 0;