]> Git Repo - linux.git/commit - fs/xfs/xfs_inode.c
xfs: cancel CoW reservations and clear inode reflink flag when freeing blocks
authorDarrick J. Wong <[email protected]>
Mon, 3 Oct 2016 16:11:38 +0000 (09:11 -0700)
committerDarrick J. Wong <[email protected]>
Wed, 5 Oct 2016 23:26:04 +0000 (16:26 -0700)
commitaa8968f227a8c6c7468c9d498daf06f8dbc30af0
tree071be2c909a770fa97f3ed97ecb856046e72fa49
parent0613f16cd20174d701853f1580ad44a9a6791ff2
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
fs/xfs/xfs_inode.c
This page took 0.050686 seconds and 4 git commands to generate.