xfs: make the assertion message functions take a mount parameter
Make the assfail and asswarn functions take a struct xfs_mount so that we can start tying debugging and corruption messages to a particular mount. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
这个提交包含在:
@@ -57,8 +57,8 @@ do { \
|
||||
#define xfs_debug_ratelimited(dev, fmt, ...) \
|
||||
xfs_printk_ratelimited(xfs_debug, dev, fmt, ##__VA_ARGS__)
|
||||
|
||||
extern void assfail(char *expr, char *f, int l);
|
||||
extern void asswarn(char *expr, char *f, int l);
|
||||
void assfail(struct xfs_mount *mp, char *expr, char *f, int l);
|
||||
void asswarn(struct xfs_mount *mp, char *expr, char *f, int l);
|
||||
|
||||
extern void xfs_hex_dump(const void *p, int length);
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户