xfs: don't open-code u64_to_user_ptr
authorDarrick J. Wong <djwong@kernel.org>
Wed, 22 May 2024 06:02:32 +0000 (23:02 -0700)
committerChandan Babu R <chandanbabu@kernel.org>
Mon, 27 May 2024 10:25:52 +0000 (15:55 +0530)
commit95b19e2f4e0f730c83910e7f5e4d62ec68c6d862
tree6b337b312c2d2d49d1bb0efe050c1865b8bbd17b
parent38de567906d95c397d87f292b892686b7ec6fbc3
xfs: don't open-code u64_to_user_ptr

Don't open-code what the kernel already provides.

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/scrub/scrub.c
fs/xfs/xfs_handle.c