]> www.infradead.org Git - nvme.git/commit
xfs: fix direction in XFS_IOC_EXCHANGE_RANGE
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Jun 2024 22:05:26 +0000 (15:05 -0700)
committerChandan Babu R <chandanbabu@kernel.org>
Wed, 26 Jun 2024 08:59:25 +0000 (14:29 +0530)
commitdc5e1cbae270b625dcb978f8ea762eb16a93a016
tree84555c384641f42e1925904013d6640f77544ec4
parent1ec9307fc066dd8a140d5430f8a7576aa9d78cd3
xfs: fix direction in XFS_IOC_EXCHANGE_RANGE

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>
fs/xfs/libxfs/xfs_fs.h