]> 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)
commitb13417593c6cb5b5a022412f533701aff458e25d
tree58af054e978b15445f40c660864adbd56502b734
parent44a172344d034ae533615948917a1bff16e9e620
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