]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: fix direction in XFS_IOC_EXCHANGE_RANGE
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:59 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:05 +0000 (17:01 -0700)
commit7fbf8e036dc1d5b9caaf6f64ad4bc88d40c8292b
treecd8aa4ddfa9d33c5db5ef986ded1fc9534ad979b
parentd617d1f5d2111bbfa82c3021dcdbc5ae63fad864
xfs: fix direction in XFS_IOC_EXCHANGE_RANGE

Source kernel commit: dc5e1cbae270b625dcb978f8ea762eb16a93a016

The kernel reads userspace's buffer but does not write it back.
Therefore this is really an _IOW ioctl.  Change this before 6.10 final
releases.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
libxfs/xfs_fs.h