commit | 5e7e605c4d1b5229c7df8a71798df00a4300428b | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 03 09:11:38 2016 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Wed Oct 05 16:26:05 2016 -0700 |
tree | a2a5bf635cbb051bf86f0f5f533309b15a3db0ba | |
parent | aa8968f227a8c6c7468c9d498daf06f8dbc30af0 [diff] |
xfs: cancel pending CoW reservations when destroying inodes When destroying the inode, cancel all pending reservations in the CoW fork so that all the reserved blocks go back to the free pile. In theory this sort of cleanup is only needed to clean up after write errors. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>