]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: compare old and new mode before setting update_mode flag
authorChengguang Xu <cgxu519@gmx.com>
Mon, 10 Dec 2018 05:22:38 +0000 (00:22 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2018 05:22:38 +0000 (00:22 -0500)
commit03fe73e6f32c7282f7e0c3dcfcd835f3ec30b5ae
tree58af054e978b15445f40c660864adbd56502b734
parent3979e0c871dc98f4d9ce24fd6b61230f6c22737c
ext4: compare old and new mode before setting update_mode flag

If new mode is the same as old mode we don't have to reset
inode mode in the rest of the code, so compare old and new
mode before setting update_mode flag.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/acl.c