[PATCH] [16/23] XFS: Fix gcc 4.6 set but not read and unused statement warnings
andi at firstfloor.org
Mon Jun 14 09:37:20 CDT 2010
> > > function head comment during development. Anyway, if we do get an
> > > error here, we cannot handle it anyway - it's too late to do
> > > anything short of a complete shutdown as we've already written the
> > > transaction to the log.
> > Well I guess it should be unconditional BUG_ON then.
> Don't be silly. A filesystem shutdown is all that is necessary,
Without BUG_ON it will not end up in kerneloops.org and you will
never know about it. That's standard Linux kernel development
Maybe XFS should catch up on that.
Ok in principle you could make the shutdown a WARN()
Anyways I'm out of this.
ak at linux.intel.com -- Speaking for myself only.
More information about the xfs