Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 22:37:34 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r202902 - stable/7/sys/kern
Message-ID:  <201001232237.o0NMbYPl039526@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001232237.o0NMbYPl039526>