Date: Sat, 23 Jan 2010 16:25:35 -0500 From: Michael Butler <imb@protected-networks.net> To: stable@freebsd.org Subject: Re: RELENG_7: SVN rev 202895 fails to compile Message-ID: <4B5B694F.8050708@protected-networks.net> In-Reply-To: <4B5B686E.6090500@protected-networks.net> References: <4B5B686E.6090500@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5B694F.8050708>
