]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: ensure that the inode uid/gid match values match the icdinode ones
authorChristoph Hellwig <hch@lst.de>
Wed, 12 Apr 2023 04:26:10 +0000 (09:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 10:07:37 +0000 (12:07 +0200)
commit9c770375b787725451735d1b2102c7fa5b806b7e
tree1f7ddf34b37853954ccf8a965763496271ffad7d
parent8a9076ba6d4013cface3a93cad4309bf457044e8
xfs: ensure that the inode uid/gid match values match the icdinode ones

commit 8077d7ca3d9f05ff630c9e3380a3a7a58e8e8c74 upstream.

Instead of only synchronizing the uid/gid values in xfs_setup_inode,
ensure that they always match to prepare for removing the icdinode
fields.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_iops.c