diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-02 19:41:19 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-05 19:28:27 +0300 |
commit | 9842b56cd406828eb1030617e8ef252fec90be4d (patch) | |
tree | 68421f6792bd5c85ba7961370a28dc1c323fd3c7 /fs/xfs/xfs_message.h | |
parent | 110f09cb705af8c53f2a457baf771d2935ed62d4 (diff) | |
download | linux-9842b56cd406828eb1030617e8ef252fec90be4d.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_message.h')
-rw-r--r-- | fs/xfs/xfs_message.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_message.h b/fs/xfs/xfs_message.h index 7f040b04b739..0b05e10995a0 100644 --- a/fs/xfs/xfs_message.h +++ b/fs/xfs/xfs_message.h @@ -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); |