]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_io: collapse trivial helpers
authorDarrick J. Wong <djwong@kernel.org>
Wed, 20 Dec 2023 16:53:45 +0000 (08:53 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Dec 2023 02:29:14 +0000 (18:29 -0800)
commit4c91ffcfa2f7d35dfb00fc4c10332e8519923639
tree121f52c702aabe46297e60f884075661b5851380
parent1067f3cd67aebb712b7b7ad2d79e0d96c4da25bc
xfs_io: collapse trivial helpers

Simply the call chain by having parse_args set the scrub ioctl
parameters in the caller's object.  The parse_args callers can then
invoke the ioctl directly, eliminating one function and one indirect
call.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
io/scrub.c