linux_old1/fs/xfs/support
Christoph Hellwig ee5c80239d [XFS] fix ASSERT and ASSERT_ALWAYS
- remove the != 0 inside the unlikely in ASSERT_ALWAYS because sparse now
  complains about comparisons between pointers and 0
- add a standalone ASSERT implementation because defining it to
  ASSERT_ALWAYS means the string is expanded before the token passing
  stringification. This way we get the actual content of the
  assertion in the assfail message and don't overflow sparse's
  stringification buffer leading to sparse error messages.

SGI-PV: 968555
SGI-Modid: xfs-linux-melb:xfs-kern:29310a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
2007-09-05 14:49:30 +10:00
..
debug.c [XFS] reducing the number of random number functions. 2007-05-08 13:49:03 +10:00
debug.h [XFS] fix ASSERT and ASSERT_ALWAYS 2007-09-05 14:49:30 +10:00
ktrace.c [XFS] Add a debug flag for allocations which are known to be larger than 2006-09-28 11:03:05 +10:00
ktrace.h [XFS] Fix sparse warnings in ktrace.[ch] 2005-11-02 15:07:23 +11:00
move.c [XFS] rename uio_read() to xfs_uio_read() 2006-11-11 18:04:41 +11:00
move.h [XFS] use struct kvec in struct uio 2007-02-10 18:35:21 +11:00
uuid.c [XFS] UUID endianess fix. uu_timelow is a 32bit field and needs to be 2006-03-14 13:24:46 +11:00
uuid.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00