From: Zhang Jingwang <zhangjingwang@xxxxxxxxxxxx> Array storage is allocated but not freed, free it. Signed-off-by: Zhang Jingwang <zhangjingwang@xxxxxxxxxxxx> Acked-by: J. Bruce Fields <bfields@xxxxxxxxxxxx> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfs/blocklayout/extents.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/nfs/blocklayout/extents.c b/fs/nfs/blocklayout/extents.c index 09a7c5c..288a38a 100644 --- a/fs/nfs/blocklayout/extents.c +++ b/fs/nfs/blocklayout/extents.c @@ -181,6 +181,7 @@ static int _preload_range(struct my_tree_t *tree, u64 offset, u64 length) break; kfree(storage[i]); } + kfree(storage); return status; } -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html