]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: preserve DIFLAG2_NREXT64 when setting other inode attributes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 6 Jun 2022 01:51:23 +0000 (18:51 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 16 Jun 2022 06:13:33 +0000 (23:13 -0700)
commitc4af94f45ce51b9254b292937440913faa2b68ad
tree4660ffcdb33d7e3de794ce64446aaf9981cb6d08
parent48c2ca93e1529595f1bf8a0c4eb0732d9ecd867c
xfs: preserve DIFLAG2_NREXT64 when setting other inode attributes

It is vitally important that we preserve the state of the NREXT64 inode
flag when we're changing the other flags2 fields.

Fixes: 3930e3e3d4bc ("xfs: Introduce XFS_DIFLAG2_NREXT64 and associated helpers")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
fs/xfs/xfs_ioctl.c