xfs: make sure to free the real-time inodes in the mount error path
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Feb 2009 08:33:58 +0000 (09:33 +0100)
committerChristoph Hellwig <hch@brick.lst.de>
Wed, 4 Feb 2009 08:33:58 +0000 (09:33 +0100)
When mount fails after allocating the real-time inodes we currently leak
them.  Add a new helper to free the real-time inodes which can be used by
both the mount and unmount path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>

No differences found