/* Wrapper around bdstrat so that we can stop data from going to disk in case we are shutting down the filesystem. Typically user data goes thru this path; one of the exceptions is the superblock.  */
void xfsbdstrat(struct xfs_mount *mp, struct xfs_buf *bp)
/* Wrapper around bdstrat so that we can stop data from going to disk in case we are shutting down the filesystem. Typically user data goes thru this path; one of the exceptions is the superblock.  */
void xfsbdstrat(struct xfs_mount *mp, struct xfs_buf *bp)
{
	ASSERT(mp);
	if (!XFS_FORCED_SHUTDOWN(mp)) {
		xfs_buf_iorequest(bp);
		return;
	}
	trace_xfs_bdstrat_shut(bp, _RET_IP_);
	xfs_bioerror_relse(bp);
}