projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
ext4
/
ext4_jbd2.c
diff --git
a/fs/ext4/ext4_jbd2.c
b/fs/ext4/ext4_jbd2.c
index 2f407c487e6ba41b9c5bdc0d19812f8409b615c7..53d2764d71caee518c5a3639c65d5708456ed25c 100644
(file)
--- a/
fs/ext4/ext4_jbd2.c
+++ b/
fs/ext4/ext4_jbd2.c
@@
-125,7
+125,7
@@
int __ext4_handle_dirty_metadata(const char *where, handle_t *handle,
ext4_journal_abort_handle(where, __func__, bh,
handle, err);
} else {
- if (inode
&& bh
)
+ if (inode)
mark_buffer_dirty_inode(bh, inode);
else
mark_buffer_dirty(bh);