Author: kib Date: Sat Jan 23 22:37:34 2010 New Revision: 202902 URL: http://svn.freebsd.org/changeset/base/202902
Log: Fix vfs_unbusy() calls in r202895. Reported by: Michael Butler <imb protected-networks net> Approved by: re (bz) Modified: stable/7/sys/kern/vfs_syscalls.c Modified: stable/7/sys/kern/vfs_syscalls.c ============================================================================== --- stable/7/sys/kern/vfs_syscalls.c Sat Jan 23 22:21:56 2010 (r202901) +++ stable/7/sys/kern/vfs_syscalls.c Sat Jan 23 22:37:34 2010 (r202902) @@ -337,7 +337,7 @@ kern_statfs(struct thread *td, char *pat } *buf = *sp; out: - vfs_unbusy(mp); + vfs_unbusy(mp, td); VFS_UNLOCK_GIANT(vfslocked); if (mtx_owned(&Giant)) printf("statfs(%d): %s: %d\n", vfslocked, path, error); @@ -429,7 +429,7 @@ kern_fstatfs(struct thread *td, int fd, *buf = *sp; out: if (mp) - vfs_unbusy(mp); + vfs_unbusy(mp, td); VFS_UNLOCK_GIANT(vfslocked); return (error); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"