Files
linux/fs/xfs/xfs_mount.c
Darrick J. Wong e1a7b7e1f6 xfs: don't leak quotacheck dquots when cow recovery
commit 77aff8c764 upstream.

If we fail a mount on account of cow recovery errors, it's possible that
a previous quotacheck left some dquots in memory.  The bailout clause of
xfs_mountfs forgets to purge these, and so we leak them.  Fix that.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-20 08:19:59 +02:00

34 KiB