Skip to content
Commit 7cb41b1d authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: remove bogus assertion when online repair isn't enabled



We don't need to assert on !REPAIR in the stub version of
xrep_calc_ag_resblks that is called when online repair hasn't been
compiled into the kernel because none of the repair code will ever run.

Reported-by: default avatarEryu Guan <guaneryu@gmail.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent d29f781c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment