openwrt-packages/utils/xfsprogs/patches/120-disable_assert.patch

13 lines
365 B
Diff

--- a/libxfs/libxfs_priv.h
+++ b/libxfs/libxfs_priv.h
@@ -89,9 +89,6 @@ struct iomap;
/* for all the support code that uses progname in error messages */
extern char *progname;
-#undef ASSERT
-#define ASSERT(ex) assert(ex)
-
/*
* We have no need for the "linux" dev_t in userspace, so these
* are no-ops, and an xfs_dev_t is stored in VFS_I(ip)->i_rdev