linux/fs/affs
Fabian Frederick f1bf90724d 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 ebd09abbd9 ("vfs: ensure page symlinks are NUL-terminated")
commit 035146851c ("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.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2017-04-26 23:54:05 -04:00
..
affs.h fs/affs: add prefix to some functions 2017-02-27 18:43:45 -08:00
amigaffs.c fs/affs: add prefix to some functions 2017-02-27 18:43:45 -08:00
bitmap.c fs/affs/bitmap.c: remove unnecessary return 2015-02-17 14:34:52 -08:00
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
dir.c fs: rename "rename2" i_op to "rename" 2016-09-27 11:03:58 +02:00
file.c direct-io: eliminate the offset argument to ->direct_IO 2016-05-01 19:58:39 -04:00
inode.c fs/affs: bugfix: make symbolic links work again 2017-04-26 23:54:05 -04:00
Kconfig fs/affs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
namei.c fs/affs: bugfix: make symbolic links work again 2017-04-26 23:54:05 -04:00
super.c sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h> 2017-03-02 08:42:31 +01:00
symlink.c vfs: remove ".readlink = generic_readlink" assignments 2016-12-09 16:45:04 +01:00