The patch titled Subject: fs/affs: bugfix: make symbolic links work again has been removed from the -mm tree. Its filename was fs-affs-bugfix-make-symbolic-links-work-again.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Fabian Frederick <fabf@xxxxxxxxx> Subject: fs/affs: bugfix: make symbolic links work again AFFS symbolic links were broken since kernel 2.6.29 Problem was bisected to the following commit ebd09abbd969 ("vfs: ensure page symlinks are NUL-terminated") commit 035146851cfa ("vfs: introduce helper function to safely NUL-terminate symlinks") AFFS wasn't setting inode size when reading symbolic link from disk or creating a new one. Result was zero allocation in pagecache. ln -s file symlink ls -lrt file symlink -> This patch adds inode isize information on inode get and symbolic link addition. Link: http://lkml.kernel.org/r/20170415065436.13518-1-fabf@xxxxxxxxx Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx> Cc: Duane Griffin <duaneg@xxxxxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/affs/inode.c | 1 + fs/affs/namei.c | 1 + 2 files changed, 2 insertions(+) diff -puN fs/affs/inode.c~fs-affs-bugfix-make-symbolic-links-work-again fs/affs/inode.c --- a/fs/affs/inode.c~fs-affs-bugfix-make-symbolic-links-work-again +++ a/fs/affs/inode.c @@ -140,6 +140,7 @@ struct inode *affs_iget(struct super_blo inode->i_fop = &affs_file_operations; break; case ST_SOFTLINK: + inode->i_size = strlen((char *)AFFS_HEAD(bh)->table); inode->i_mode |= S_IFLNK; inode_nohighmem(inode); inode->i_op = &affs_symlink_inode_operations; diff -puN fs/affs/namei.c~fs-affs-bugfix-make-symbolic-links-work-again fs/affs/namei.c --- a/fs/affs/namei.c~fs-affs-bugfix-make-symbolic-links-work-again +++ a/fs/affs/namei.c @@ -365,6 +365,7 @@ affs_symlink(struct inode *dir, struct d symname++; } *p = 0; + inode->i_size = i + 1; mark_buffer_dirty_inode(bh, inode); affs_brelse(bh); mark_inode_dirty(inode); _ Patches currently in -mm which might be from fabf@xxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html