Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 12:25:31 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r310262 - stable/11/lib/libc/sys
Message-ID:  <201612191225.uBJCPV3M054262@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Mon Dec 19 12:25:30 2016
New Revision: 310262
URL: https://svnweb.freebsd.org/changeset/base/310262

Log:
  MFC r308386:
  
  Document that getfsstat(2) called with MNT_NOWAIT skips file systems
  that are in the process of being unmounted.

Modified:
  stable/11/lib/libc/sys/getfsstat.2
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/sys/getfsstat.2
==============================================================================
--- stable/11/lib/libc/sys/getfsstat.2	Mon Dec 19 12:22:32 2016	(r310261)
+++ stable/11/lib/libc/sys/getfsstat.2	Mon Dec 19 12:25:30 2016	(r310262)
@@ -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



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