projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f8ff53
)
ext4: let ext4_page_mkwrite stop started handle in failure
author
Yongqiang Yang
<xiaoqiangnk@gmail.com>
Wed, 26 Oct 2011 09:00:19 +0000
(
05:00
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 26 Oct 2011 09:00:19 +0000
(
05:00
-0400)
The started journal handle should be stopped in failure case.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Acked-by: Jan Kara <jack@suse.cz>
Cc: stable@kernel.org
fs/ext4/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index 87ec615f0fd6943ee799b40a0205879d7fa2dcbc..e4b26faac5fff0e5425a9ea453ca2341b9221e68 100644
(file)
--- a/
fs/ext4/inode.c
+++ b/
fs/ext4/inode.c
@@
-4791,6
+4791,7
@@
retry_alloc:
PAGE_CACHE_SIZE, NULL, do_journal_get_write_access)) {
unlock_page(page);
ret = VM_FAULT_SIGBUS;
+ ext4_journal_stop(handle);
goto out;
}
ext4_set_inode_state(inode, EXT4_STATE_JDATA);