Skip to content

Commit

Permalink
xfs: fix freeing memory in xfs_getbmap()
Browse files Browse the repository at this point in the history
Regression from commit 28e2117.
Need to free temporary buffer allocated in xfs_getbmap().

Signed-off-by: Felix Blyakher <[email protected]>
Signed-off-by: Hedi Berriche <[email protected]>
Reported-by: Justin Piszcz <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
  • Loading branch information
Felix Blyakher committed Jun 12, 2009
1 parent 35fd035 commit 7747a0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/xfs/xfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -6086,6 +6086,7 @@ xfs_getbmap(
break;
}

kmem_free(out);
return error;
}

Expand Down

0 comments on commit 7747a0b

Please sign in to comment.