From: Miao Xie <mi...@cn.fujitsu.com> fixup, which is allocated when starting page write to fix up the extent without ORDERED bit set, should be freed after this work is done.
Signed-off-by: Miao Xie <mi...@cn.fujitsu.com> Signed-off-by: Li Zefan <l...@cn.fujitsu.com> --- fs/btrfs/inode.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 5f91944..3a6edc4 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -1544,6 +1544,7 @@ out: out_page: unlock_page(page); page_cache_release(page); + kfree(fixup); } /* -- 1.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html