projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373cd5c
)
ext4: make ext4_split_extent() handle error correctly
author
Yongqiang Yang
<xiaoqiangnk@gmail.com>
Mon, 23 May 2011 00:49:12 +0000
(20:49 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 23 May 2011 00:49:12 +0000
(20:49 -0400)
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Mingming Cao <cmm@us.ibm.com>
fs/ext4/extents.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/extents.c
b/fs/ext4/extents.c
index 5f243da8ff1dce84fdfe9d9f0505821c6bc431bc..9a3844adb1cb1f905ecb96db695132257e9dc36e 100644
(file)
--- a/
fs/ext4/extents.c
+++ b/
fs/ext4/extents.c
@@
-2716,6
+2716,8
@@
static int ext4_split_extent(handle_t *handle,
EXT4_EXT_MARK_UNINIT2;
err = ext4_split_extent_at(handle, inode, path,
map->m_lblk + map->m_len, split_flag1, flags1);
+ if (err)
+ goto out;
}
ext4_ext_drop_refs(path);