commit | aa8968f227a8c6c7468c9d498daf06f8dbc30af0 | [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:04 2016 -0700 |
tree | 071be2c909a770fa97f3ed97ecb856046e72fa49 | |
parent | 0613f16cd20174d701853f1580ad44a9a6791ff2 [diff] |
xfs: cancel CoW reservations and clear inode reflink flag when freeing blocks When we're freeing blocks (truncate, punch, etc.), clear all CoW reservations in the range being freed. If the file block count drops to zero, also clear the inode reflink flag. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>