Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext3: symlink must be handled via filesystem specific operation

generic setattr implementation is no longer responsible for
quota transfer so synlinks must be handled via ext3_setattr.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>

authored by

Dmitry Monakhov and committed by
Jan Kara
774f03fb fc7683a3

+2
+2
fs/ext3/symlink.c
··· 34 34 .readlink = generic_readlink, 35 35 .follow_link = page_follow_link_light, 36 36 .put_link = page_put_link, 37 + .setattr = ext3_setattr, 37 38 #ifdef CONFIG_EXT3_FS_XATTR 38 39 .setxattr = generic_setxattr, 39 40 .getxattr = generic_getxattr, ··· 46 45 const struct inode_operations ext3_fast_symlink_inode_operations = { 47 46 .readlink = generic_readlink, 48 47 .follow_link = ext3_follow_link, 48 + .setattr = ext3_setattr, 49 49 #ifdef CONFIG_EXT3_FS_XATTR 50 50 .setxattr = generic_setxattr, 51 51 .getxattr = generic_getxattr,