summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/util.h
diff options
context:
space:
mode:
authorSteven Whitehouse2006-04-21 21:52:46 +0200
committerSteven Whitehouse2006-04-21 21:52:46 +0200
commit1e09ae544eb1a2d11b04c6924f738a310c7a7a2b (patch)
treed5be98602097f1e3b050f6f2b32ac0ecac53cea2 /fs/gfs2/util.h
parent[GFS2] Add back missing BUG() (diff)
downloadkernel-qcow2-linux-1e09ae544eb1a2d11b04c6924f738a310c7a7a2b.tar.gz
kernel-qcow2-linux-1e09ae544eb1a2d11b04c6924f738a310c7a7a2b.tar.xz
kernel-qcow2-linux-1e09ae544eb1a2d11b04c6924f738a310c7a7a2b.zip
[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>
Diffstat (limited to 'fs/gfs2/util.h')
-rw-r--r--fs/gfs2/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h
index c9624c30cad6..4532dbab0a2c 100644
--- a/fs/gfs2/util.h
+++ b/fs/gfs2/util.h
@@ -30,6 +30,7 @@ void gfs2_assert_i(struct gfs2_sbd *sdp);
do { \
if (unlikely(!(assertion))) { \
gfs2_assert_i(sdp); \
+ BUG(); \
} \
} while (0)