commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 56/61: ext2fs: fix diskfs_pager_users


From: Samuel Thibault
Subject: [hurd] 56/61: ext2fs: fix diskfs_pager_users
Date: Tue, 27 May 2014 08:32:14 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 6c15c9174134be48c57a8ac5f2ff09d0ba5f1df8
Author: Justus Winter <address@hidden>
Date:   Sun May 25 14:18:35 2014 +0200

    ext2fs: fix diskfs_pager_users
    
    This fixes a bug introduced in 86122789.
    
    * ext2fs/pager.c (diskfs_pager_users): We count file_pager_bucket,
    which does not include the disk pagers.  Fix condition accordingly.
---
 ext2fs/pager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 017efcc..ce5bc6d 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -1449,7 +1449,7 @@ diskfs_pager_users ()
 {
   int npagers = ports_count_bucket (file_pager_bucket);
 
-  if (npagers <= 1)
+  if (npagers == 0)
     return 0;
 
   if (MAY_CACHE)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]