Commit 7747a0b0 authored by Felix Blyakher's avatar 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: default avatarFelix Blyakher <felixb@sgi.com>
Signed-off-by: default avatarHedi Berriche <hedi@sgi.com>
Reported-by: default avatarJustin Piszcz <jpiszcz@lucidpixels.com>
Reviewed-by: default avatarEric Sandeen <sandeen@sandeen.net>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 35fd0359
...@@ -6086,6 +6086,7 @@ xfs_getbmap( ...@@ -6086,6 +6086,7 @@ xfs_getbmap(
break; break;
} }
kmem_free(out);
return error; return error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment