git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf6b1b
)
ext4: fix ext4_swap_extents() error handling
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 31 Aug 2014 19:03:14 +0000
(15:03 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 31 Aug 2014 19:03:14 +0000
(15:03 -0400)
If ext4_ext_find_extent() returns an error, we have to clear path1 or
path2 or else we would end up trying to free an ERR_PTR, which would
be bad.
Also eliminate some redundant code and mark the error paths as unlikely()
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
No differences found