Re: [PATCH v2] xfs: fix compiler warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 01, 2017 at 01:10:05AM -0700, Christoph Hellwig wrote:
> Can we please just ensure ASSERT always evaluates the argument,
> similar to BUG()?

Assuming you meant BUG_ON or something that actually takes a parameter,
yes you can do that, though now we have to fix up a bunch of things like
the xfs_trans debug counter asserts and anything that asserts on
xfs_isilocked.

-.text                         785555      0
+.text                         787843      0

I guess that's only 0.29% larger...

--D

> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux