From 8fbc24c76fad6986c45dd92d2ca672037ab14bb9 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 27 Jun 1995 00:20:51 +0000 Subject: (diskfs_pager_users/enable_cache): Fix typo. Include . --- ufs/pager.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ufs/pager.c') diff --git a/ufs/pager.c b/ufs/pager.c index 34c4d232..de5e1d18 100644 --- a/ufs/pager.c +++ b/ufs/pager.c @@ -18,6 +18,7 @@ #include "ufs.h" #include #include +#include spin_lock_t node2pagelock = SPIN_LOCK_INITIALIZER; @@ -536,7 +537,7 @@ diskfs_pager_users () routine), and if that node has no links. So dinkle the node ref counting scheme here, which will cause caching to be turned off, if that's really necessary. */ - if (upi->pager_type == FILE_DATA) + if (upi->type == FILE_DATA) { diskfs_nref (upi->np); diskfs_nrele (upi->np); @@ -552,7 +553,7 @@ diskfs_pager_users () if (MAY_CACHE == 0) { ports_enable_bucket (pager_bucket); - return 1 + return 1; } /* Loop through the pagers and turn off caching one by one, -- cgit v1.2.3