mirror of https://gitee.com/openkylin/linux.git
xfs: fix freeing memory in xfs_getbmap()
Regression from commit 28e211700a
.
Need to free temporary buffer allocated in xfs_getbmap().
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Hedi Berriche <hedi@sgi.com>
Reported-by: Justin Piszcz <jpiszcz@lucidpixels.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
35fd035968
commit
7747a0b0af
|
@ -6086,6 +6086,7 @@ xfs_getbmap(
|
|||
break;
|
||||
}
|
||||
|
||||
kmem_free(out);
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue