projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90bcab9
)
gfs2: Remove pointless BUG_ON
author
Andreas Gruenbacher
<agruenba@redhat.com>
Tue, 12 Dec 2017 13:32:48 +0000
(14:32 +0100)
committer
Bob Peterson
<rpeterso@redhat.com>
Wed, 17 Jan 2018 13:35:35 +0000
(06:35 -0700)
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>
fs/gfs2/trans.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/trans.c
b/fs/gfs2/trans.c
index
ca8b72d
..
b95ebd1
100644
(file)
--- 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)) {