opnsense-src/sys/ufs/ffs
Konstantin Belousov 6e1eabadcb ffs_syncvnode(): avoid a LoR for SU
There is another case where SU code does ffs_syncvnode(dvp) for the
parent directory dvp while the child vnode vp is locked.  Avoid the
issue by relocking and returning ERELOOKUP to indicate the need of
resync.

Reported by:	jkim
Reviewed by:	mckusick
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D37997
2023-01-14 20:28:11 +02:00
..
ffs_alloc.c Explicitly initialize rather than reading newly allocated UFS inodes. 2022-08-13 13:51:25 -07:00
ffs_balloc.c ffs: lock buffers after snaplk with LK_NOWITNESS 2022-02-01 06:54:50 +02:00
ffs_extern.h Explicitly initialize rather than reading newly allocated UFS inodes. 2022-08-13 13:51:25 -07:00
ffs_inode.c Another fix to build from 064e6b4. 2022-07-13 21:05:05 -07:00
ffs_rawread.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
ffs_snapshot.c Enable taking snapshots on UFS/FFS filesystems using journaled soft updates. 2022-11-12 22:56:03 -08:00
ffs_softdep.c ffs_syncvnode(): avoid a LoR for SU 2023-01-14 20:28:11 +02:00
ffs_subr.c Format cleanups. 2022-12-20 18:30:36 -08:00
ffs_suspend.c UFSSUSPEND: unbusy mp in EDADLK case 2022-12-30 11:44:20 +02:00
ffs_tables.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ffs_vfsops.c Stop cleaning MNT_LOCAL on unmount 2023-01-14 20:28:11 +02:00
ffs_vnops.c FFS: truncate write if it would exceed the fs max file size or RLIMIT_FSIZE 2022-09-24 19:41:57 +03:00
fs.h Increase the maximum size of the journaled soft-updates journal. 2022-10-21 11:00:00 -07:00
softdep.h Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00