android_kernel_xiaomi_sm8350/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
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