diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-11-23 21:11:08 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-11-23 21:11:08 -0500 |
commit | 0ebf7f10d67a70e120f365018f1c5fce9ddc567d (patch) | |
tree | e7312839bbc29005b1670ee3deaf69bdff8f6580 /fs/splice.c | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) | |
download | linux-stable-0ebf7f10d67a70e120f365018f1c5fce9ddc567d.tar.gz linux-stable-0ebf7f10d67a70e120f365018f1c5fce9ddc567d.tar.bz2 linux-stable-0ebf7f10d67a70e120f365018f1c5fce9ddc567d.zip |
fix sysvfs symlinks
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 ;-/
Cc: stable@vger.kernel.org # all of them, not that anyone cared
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions