aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2026-03-29 21:41:36 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2026-03-29 21:41:36 +0000
commitb5815ee99a015c6ac118d7e9646d0c95b72e9f2d (patch)
tree7de9b3d57f49c4b31e53bc317b67e4eb4c410cb4 /sys/pc98
parent1c10825c6e5fd9a6cab364032458346866223d4f (diff)
nfs_nfsdsocket.c: Allow Copy/Clone from a read-only fsHEADmain
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 'sys/pc98')
0 files changed, 0 insertions, 0 deletions