提交 7747a0b0 编写于 作者: F Felix Blyakher

xfs: fix freeing memory in xfs_getbmap()

Regression from commit 28e21170.
Need to free temporary buffer allocated in xfs_getbmap().
Signed-off-by: NFelix Blyakher <felixb@sgi.com>
Signed-off-by: NHedi Berriche <hedi@sgi.com>
Reported-by: NJustin Piszcz <jpiszcz@lucidpixels.com>
Reviewed-by: NEric Sandeen <sandeen@sandeen.net>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
上级 35fd0359
......@@ -6086,6 +6086,7 @@ xfs_getbmap(
break;
}
kmem_free(out);
return error;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册