Re: [PATCH] xfs: Use BUG_ON rather than BUG() to remove unreachable code

From: Dan Carpenter
Date: Thu Aug 22 2019 - 09:44:35 EST


Depending on the config BUG() might be a no-op. Outside of filesystems
everyone ignores that and crashes ungracefully, but in filesystems they
don't want to risk corrupting your files.

regards,
dan carpenter