android_kernel_samsung_msm8976/fs/sysv
Al Viro 863475041a fix sysvfs symlinks
commit 0ebf7f10d67a70e120f365018f1c5fce9ddc567d upstream.

The thing got broken back in 2002 - sysvfs does *not* have inline
symlinks; even short ones have bodies stored in the first block
of file.  sysv_symlink() handles that correctly; unfortunately,
attempting to look an existing symlink up will end up confusing
them for inline symlinks, and interpret the block number containing
the body as the body itself.

Nobody has noticed until now, which says something about the level
of testing sysvfs gets ;-/

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-19 14:22:39 -08:00
..
balloc.c sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00
dir.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
file.c sysv: drop vmtruncate 2012-12-20 14:00:01 -05:00
ialloc.c sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00
inode.c fix sysvfs symlinks 2016-02-19 14:22:39 -08:00
itree.c sysv: drop vmtruncate 2012-12-20 14:00:01 -05:00
Kconfig
Makefile
namei.c don't pass nameidata to ->create() 2012-07-14 16:34:47 +04:00
super.c sysv: Add forgotten superblock lock init for v7 fs 2013-10-05 07:13:09 -07:00
symlink.c
sysv.h sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00