]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: don't set i_flags in EXT4_IOC_SETFLAGS
authorTao Ma <boyu.mt@taobao.com>
Thu, 7 Jun 2012 23:04:19 +0000 (19:04 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 7 Jun 2012 23:04:19 +0000 (19:04 -0400)
commite5f96ab1df8e4718c6bde5075e0958ba2eadfc84
tree7d5b9559492a79ebddcfdab5c9fc2743dec26922
parent9c4c9b69e8805e73a48bba35e4ef90db93a89e85
ext4: don't set i_flags in EXT4_IOC_SETFLAGS

Commit 23aaab8 uses the ext4_{set,clear}_inode_flags() functions to
change the i_flags automatically but fails to remove the error setting
of i_flags.  So we still have the problem of trashing state flags.
Fix this by removing the assignment.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/ioctl.c