diff options
Diffstat (limited to 'fs/jbd2')
-rw-r--r-- | fs/jbd2/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index b01fd6104089..1e5c5ead5b0d 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/highmem.h> | 27 | #include <linux/highmem.h> |
28 | #include <linux/hrtimer.h> | 28 | #include <linux/hrtimer.h> |
29 | #include <linux/backing-dev.h> | 29 | #include <linux/backing-dev.h> |
30 | #include <linux/bug.h> | ||
30 | #include <linux/module.h> | 31 | #include <linux/module.h> |
31 | 32 | ||
32 | static void __jbd2_journal_temp_unlink_buffer(struct journal_head *jh); | 33 | static void __jbd2_journal_temp_unlink_buffer(struct journal_head *jh); |
@@ -1171,8 +1172,7 @@ out_unlock_bh: | |||
1171 | jbd_unlock_bh_state(bh); | 1172 | jbd_unlock_bh_state(bh); |
1172 | out: | 1173 | out: |
1173 | JBUFFER_TRACE(jh, "exit"); | 1174 | JBUFFER_TRACE(jh, "exit"); |
1174 | if (ret) | 1175 | WARN_ON(ret); /* All errors are bugs, so dump the stack */ |
1175 | __WARN(); /* All errors are bugs, so dump the stack */ | ||
1176 | return ret; | 1176 | return ret; |
1177 | } | 1177 | } |
1178 | 1178 | ||