diff options
| author | Rick Macklem <rmacklem@FreeBSD.org> | 2026-03-29 21:41:36 +0000 |
|---|---|---|
| committer | Rick Macklem <rmacklem@FreeBSD.org> | 2026-03-29 21:41:36 +0000 |
| commit | b5815ee99a015c6ac118d7e9646d0c95b72e9f2d (patch) | |
| tree | 7de9b3d57f49c4b31e53bc317b67e4eb4c410cb4 /lib/libsdp | |
| parent | 1c10825c6e5fd9a6cab364032458346866223d4f (diff) | |
For some server file system types, such as ZFS, a Copy/Clone
operation can be done across file systems of the same file
system type.
However, without this patch, the Copy/Clone will fail with
EROFS if the input file is on a read-only mounted file system.
This happens because Copy/Clone will try to do a VOP_SETATTR()
of atime to set the atime.
This patch pretends the VOP_SETATTR() of atime worked for
read-only file systems. It fixes a problem when copying
files from a ZFS snapshot.
PR: 294010
MFC after: 2 weeks
Diffstat (limited to 'lib/libsdp')
0 files changed, 0 insertions, 0 deletions
