diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-10-03 17:09:01 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-10-07 13:51:46 +0200 |
commit | b8c4076db5fd24b3be047e033b1098a5366db2fc (patch) | |
tree | 86c8cbff6c430e7415a0143b96c50f5267c7e943 /kernel/module_signature.c | |
parent | iomap: constrain the file range passed to iomap_file_unshare (diff) | |
download | linux-b8c4076db5fd24b3be047e033b1098a5366db2fc.tar.xz linux-b8c4076db5fd24b3be047e033b1098a5366db2fc.zip |
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: 1f1397b7218d7 ("xfs: don't allocate into the data fork for an unshare request")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/172796813277.1131942.5486112889531210260.stgit@frogsfrogsfrogs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'kernel/module_signature.c')
0 files changed, 0 insertions, 0 deletions