summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2017-12-12 14:32:48 +0100
committerBob Peterson <rpeterso@redhat.com>2018-01-17 14:35:35 +0100
commitda5eb9cdda2917b44dc9da7c8811d0db29f6b201 (patch)
tree61f63cf7b34efc0215fd6877e46b8ad35c3c2a97 /fs/gfs2
parentgfs2: Add gfs2_blk2rgrpd comment and fix incorrect use (diff)
downloadlinux-da5eb9cdda2917b44dc9da7c8811d0db29f6b201.tar.xz
linux-da5eb9cdda2917b44dc9da7c8811d0db29f6b201.zip
gfs2: Remove pointless BUG_ON
The current transaction is being dereferenced before asserting that is not NULL; that isn't going to help. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/trans.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c
index ca8b72d0a831..b95ebd166cac 100644
--- a/fs/gfs2/trans.c
+++ b/fs/gfs2/trans.c
@@ -92,7 +92,6 @@ void gfs2_trans_end(struct gfs2_sbd *sdp)
s64 nbuf;
int alloced = test_bit(TR_ALLOCED, &tr->tr_flags);
- BUG_ON(!tr);
current->journal_info = NULL;
if (!test_bit(TR_TOUCHED, &tr->tr_flags)) {