diff options
Diffstat (limited to 'fs/gfs2/util.c')
-rw-r--r-- | fs/gfs2/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c index ad49153c33d1..4fb1704aac10 100644 --- a/fs/gfs2/util.c +++ b/fs/gfs2/util.c | |||
@@ -50,6 +50,7 @@ int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, | |||
50 | "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", | 50 | "GFS2: fsid=%s: function = %s, file = %s, line = %u\n", |
51 | sdp->sd_fsname, assertion, | 51 | sdp->sd_fsname, assertion, |
52 | sdp->sd_fsname, function, file, line); | 52 | sdp->sd_fsname, function, file, line); |
53 | dump_stack(); | ||
53 | return (me) ? -1 : -2; | 54 | return (me) ? -1 : -2; |
54 | } | 55 | } |
55 | 56 | ||
@@ -75,6 +76,8 @@ int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, | |||
75 | 76 | ||
76 | if (sdp->sd_args.ar_debug) | 77 | if (sdp->sd_args.ar_debug) |
77 | BUG(); | 78 | BUG(); |
79 | else | ||
80 | dump_stack(); | ||
78 | 81 | ||
79 | sdp->sd_last_warning = jiffies; | 82 | sdp->sd_last_warning = jiffies; |
80 | 83 | ||