aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.arm64
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2023-02-12 23:20:25 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-02-13 23:16:38 +0000
commit3a3450eda6d4616df51a30f84a872d9d43669d78 (patch)
tree74b0af59cbd23cf70de65941685ba6f0b1386b65 /sys/conf/files.arm64
parentadc3506d56d76981a0e251080b186c26edb843b4 (diff)
downloadsrc-3a3450eda6d4616df51a30f84a872d9d43669d78.tar.gz
src-3a3450eda6d4616df51a30f84a872d9d43669d78.zip
tmpfs_rename(): use tmpfs_access_locked instead of VOP_ACCESS()
Protect the call with the node lock. We cannot lock the fvp vnode sleepable there, because we already own other participating vnode's locks. Taking it without sleeping require unwinding the whole locking state in one more place. Note that the liveness of the node is guaranteed by the lock on the parent directory vnode. Reported and tested by: pho Fixes: cbac1f3464956185cf95955344b6009e2cc3ae40ESC Reviewed by: markj, mjg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D38557
Diffstat (limited to 'sys/conf/files.arm64')
0 files changed, 0 insertions, 0 deletions