ext4: add verifier check for symlink with append/immutable flags
authorLuis R. Rodriguez <mcgrof@kernel.org>
Sun, 13 May 2018 20:45:56 +0000 (16:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 May 2018 20:45:56 +0000 (16:45 -0400)
commit6390d33bf5d9b24fd4f96e415b6888f59c8494f9
tree41abc900ed27d46cb27466a562babf2a443af09e
parent71fe989961374ae55863c5da527bcf45be020834
ext4: add verifier check for symlink with append/immutable flags

The Linux VFS does not allow a way to set append/immuttable
attributes to symlinks, this is just not possible. If this is
detected inform the user as the filesystem must be corrupted.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/inode.c