diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2017-12-12 14:32:48 +0100 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2018-01-17 06:35:35 -0700 |
commit | da5eb9cdda2917b44dc9da7c8811d0db29f6b201 (patch) | |
tree | 61f63cf7b34efc0215fd6877e46b8ad35c3c2a97 /fs/gfs2 | |
parent | 90bcab998dcadc8a1515994b558da10631298bf3 (diff) |
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.c | 1 |
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)) { |