Skip to content
Snippets Groups Projects
Unverified Commit b8c4076d authored by Darrick J. Wong's avatar Darrick J. Wong Committed by Christian Brauner
Browse files

xfs: don't allocate COW extents when unsharing a hole


It doesn't make sense to allocate a COW extent when unsharing a hole
because holes cannot be shared.

Fixes: 1f1397b7 ("xfs: don't allocate into the data fork for an unshare request")
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/172796813277.1131942.5486112889531210260.stgit@frogsfrogsfrogs


Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent a311a08a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment