Skip to content
Commit 09dab6ce authored by Wengang Wang's avatar Wengang Wang Committed by Carlos Maiolino
Browse files

xfs: free up mp->m_free[0].count in error case



In xfs_init_percpu_counters(), memory for mp->m_free[0].count wasn't freed
in error case. Free it up in this patch.

Signed-off-by: default avatarWengang Wang <wen.gang.wang@oracle.com>
Fixes: 712bae96 ("xfs: generalize the freespace and reserved blocks handling")
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarCarlos Maiolino <cem@kernel.org>
parent f0447f80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment