projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: teach ext4_ext_find_extent() to realloc path if necessary
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ext4
/
extents_status.c
diff --git
a/fs/ext4/extents_status.c
b/fs/ext4/extents_status.c
index 0b7e28e7eaa4303938877743114bce5e367a8c2d..8ffff966d594fb177e68eeeb6877942f668b9d65 100644
(file)
--- a/
fs/ext4/extents_status.c
+++ b/
fs/ext4/extents_status.c
@@
-499,10
+499,8
@@
static void ext4_es_insert_extent_ext_check(struct inode *inode,
}
}
out:
- if (path) {
- ext4_ext_drop_refs(path);
- kfree(path);
- }
+ ext4_ext_drop_refs(path);
+ kfree(path);
}
static void ext4_es_insert_extent_ind_check(struct inode *inode,