> +/* Iterate all the user files returned by a bulkstat. */ > +static void > +scan_user_files( > + struct workqueue *wq, > + xfs_agnumber_t agno, > + void *arg) > +{ > + struct xfs_handle handle; > + struct scrub_ctx *ctx = (struct scrub_ctx *)wq->wq_ctx; No need for the cast - wq_ctx is a void pointer. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>