Commit 256a453546f1cf2c29a639c79fe0d603761a8e25

Authored by Dmitry Monakhov
Committed by Theodore Ts'o
1 parent 42007efd56

ext4: symlink must be handled via filesystem specific operation

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

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -34,6 +34,7 @@
34 34 .readlink = generic_readlink,
35 35 .follow_link = page_follow_link_light,
36 36 .put_link = page_put_link,
  37 + .setattr = ext4_setattr,
37 38 #ifdef CONFIG_EXT4_FS_XATTR
38 39 .setxattr = generic_setxattr,
39 40 .getxattr = generic_getxattr,
... ... @@ -45,6 +46,7 @@
45 46 const struct inode_operations ext4_fast_symlink_inode_operations = {
46 47 .readlink = generic_readlink,
47 48 .follow_link = ext4_follow_link,
  49 + .setattr = ext4_setattr,
48 50 #ifdef CONFIG_EXT4_FS_XATTR
49 51 .setxattr = generic_setxattr,
50 52 .getxattr = generic_getxattr,