]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: remove unnecessary fd parameter from file scrubbers
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Sep 2019 17:41:35 +0000 (13:41 -0400)
committerEric Sandeen <sandeen@redhat.com>
Thu, 26 Sep 2019 17:41:35 +0000 (13:41 -0400)
commit991e5a8413bcd15eb30e5f70d7efd2b13e7b98f6
tree88f20f89801880992f7fa69f5d0aa95ff9c42a2e
parentbb85ae74e7e6672ccd744a7e630478f15af1fd69
xfs_scrub: remove unnecessary fd parameter from file scrubbers

xfs_scrub's scrub ioctl wrapper functions always take a scrub_ctx and an
fd, but we always set the fd to ctx->mnt.fd.  Remove the redundant
parameter.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
scrub/phase3.c
scrub/scrub.c
scrub/scrub.h