Subtract to from the free count for .' and
..', to maintain the fiction that
this is a real file system.
This commit is contained in:
parent
7a40c9d92c
commit
b3f22bcdcc
@ -27,7 +27,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: procfs_vfsops.c,v 1.4 1993/08/24 17:49:16 pk Exp $
|
||||
* $Id: procfs_vfsops.c,v 1.5 1993/08/25 14:35:20 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -171,8 +171,8 @@ pfs_statfs(mp, sbp, p)
|
||||
sbp->f_blocks = 0;
|
||||
sbp->f_bfree = 0;
|
||||
sbp->f_bavail = 0;
|
||||
sbp->f_files = maxproc;
|
||||
sbp->f_ffree = maxproc - nprocs;
|
||||
sbp->f_files = maxproc;
|
||||
sbp->f_ffree = maxproc - (nprocs + 2);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user