svn commit: r308386 - head/lib/libc/sys

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Nov 6 19:37:24 UTC 2016


Author: trasz
Date: Sun Nov  6 19:37:22 2016
New Revision: 308386
URL: https://svnweb.freebsd.org/changeset/base/308386

Log:
  Document that getfsstat(2) called with MNT_NOWAIT skips file systems
  that are in the process of being unmounted.
  
  Reviewed by:	des@ (earlier version)
  MFC after:	1 month

Modified:
  head/lib/libc/sys/getfsstat.2

Modified: head/lib/libc/sys/getfsstat.2
==============================================================================
--- head/lib/libc/sys/getfsstat.2	Sun Nov  6 19:18:25 2016	(r308385)
+++ head/lib/libc/sys/getfsstat.2	Sun Nov  6 19:37:22 2016	(r308386)
@@ -28,7 +28,7 @@
 .\"	@(#)getfsstat.2	8.3 (Berkeley) 5/25/95
 .\" $FreeBSD$
 .\"
-.Dd November 20, 2003
+.Dd November 6, 2016
 .Dt GETFSSTAT 2
 .Os
 .Sh NAME
@@ -88,6 +88,8 @@ Thus, some of the information will be ou
 .Fn getfsstat
 will not block waiting for information from a file system that is
 unable to respond.
+It will also skip any file system that is in the process of being
+unmounted, even if the unmount would eventually fail.
 .Sh RETURN VALUES
 Upon successful completion, the number of
 .Fa statfs


More information about the svn-src-head mailing list