mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
[GFS2] Move BUG() back into the header file
In order to make the file and line number reporting work correctly, this has been moved back into the header file. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
1dde2dbfc7
commit
1e09ae544e
2 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,6 @@ void gfs2_assert_i(struct gfs2_sbd *sdp)
|
||||||
{
|
{
|
||||||
printk(KERN_EMERG "GFS2: fsid=%s: fatal assertion failed\n",
|
printk(KERN_EMERG "GFS2: fsid=%s: fatal assertion failed\n",
|
||||||
sdp->sd_fsname);
|
sdp->sd_fsname);
|
||||||
BUG();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,6 +30,7 @@ void gfs2_assert_i(struct gfs2_sbd *sdp);
|
||||||
do { \
|
do { \
|
||||||
if (unlikely(!(assertion))) { \
|
if (unlikely(!(assertion))) { \
|
||||||
gfs2_assert_i(sdp); \
|
gfs2_assert_i(sdp); \
|
||||||
|
BUG(); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue