freebsd-nq/sys/ufs/ffs
Konstantin Belousov bf9c87c813 Be more strict when selecting between snapshot/regular mount.
Reclaimed vnode type is VBAD, so succesful comparision like
devvp->v_type != VREG does not imply that the devvp references
snapshot, it might be due to a reclaimed vnode.  Explicitely check the
vnode type.

In the the most important case of ffs_blkfree(), the devfs vnode is
locked and its type is stable.  In other cases, if the vnode is
reclaimed right after the check, hopefully the buffer methods return
right error codes.

Reviewed by:	mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-09-19 15:58:33 +00:00
..
ffs_alloc.c Be more strict when selecting between snapshot/regular mount. 2016-09-19 15:58:33 +00:00
ffs_balloc.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_extern.h Partially lift suspension when ffs_reload() finished with cgs and 2016-09-08 12:01:28 +00:00
ffs_inode.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_rawread.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_snapshot.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_softdep.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_subr.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_suspend.c Partially lift suspension when ffs_reload() finished with cgs and 2016-09-08 12:01:28 +00:00
ffs_tables.c
ffs_vfsops.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_vnops.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
fs.h Renumber the advertising clause. 2016-09-06 15:17:35 +00:00
softdep.h Bug 211013 reports that a write error to a UFS filesystem running 2016-08-16 21:02:30 +00:00