1
linux/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
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
uuid.h