freebsd-dev/sys/ufs
Konstantin Belousov ffda66c299 Remove the #if defined(FFS) || defined(IFS) braces around the calls to
ffs_snapgone(). ufs.ko module is not build with FFS define, causing
snapshot inode number slots in superblock never be freed, as well as a
reference on the snapshot vnode.

IFS was removed several years ago, and UFS/FFS separation was not
maintained for real.

Reported, analyzed and tested by:	Yamagi Burmeister <lists yamagi org>
MFC after:	3 days
2011-03-17 11:23:12 +00:00
..
ffs Use ffs() to locate free bits in the inode bitmap rather than a loop with 2011-03-04 22:26:41 +00:00
ufs Remove the #if defined(FFS) || defined(IFS) braces around the calls to 2011-03-17 11:23:12 +00:00