-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/23/10 16:21, Michael Butler wrote:> The attached patch corrects the number of arguments given to
> vfs_unbusy() as introduced by SVN rev 202895 on the assumption that the
> idea was to migrate from vfs_rel() to vfs_unbusy() in those instances,
>
> imb
Ugh .. I hate it when that happens :-(
*** src/sys/kern/vfs_syscalls.c.orig Sat Jan 23 16:13:07 2010
- --- src/sys/kern/vfs_syscalls.c Sat Jan 23 16:13:39 2010
***************
*** 337,343 ****
}
*buf = *sp;
out:
! vfs_unbusy(mp);
VFS_UNLOCK_GIANT(vfslocked);
if (mtx_owned(&Giant))
printf("statfs(%d): %s: %d\n", vfslocked, path,
error);
- --- 337,343 ----
}
*buf = *sp;
out:
! vfs_unbusy(mp, td);
VFS_UNLOCK_GIANT(vfslocked);
if (mtx_owned(&Giant))
printf("statfs(%d): %s: %d\n", vfslocked, path,
error);
***************
*** 429,435 ****
*buf = *sp;
out:
if (mp)
! vfs_unbusy(mp);
VFS_UNLOCK_GIANT(vfslocked);
return (error);
}
- --- 429,435 ----
*buf = *sp;
out:
if (mp)
! vfs_unbusy(mp, td);
VFS_UNLOCK_GIANT(vfslocked);
return (error);
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)
iEYEARECAAYFAktbaU4ACgkQQv9rrgRC1JJFNACfT1cQo6RUiC6qWc5CfkyTDMhW
nQgAn0TZwJxIR7Ijpt39yaAV+KH/+GFN
=Fagv
-----END PGP SIGNATURE-----