[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
- [hurd] 37/61: libihash: use linear probing and fast modulo operation, (continued)
- [hurd] 37/61: libihash: use linear probing and fast modulo operation, Samuel Thibault, 2014/05/27
- [hurd] 44/61: libihash: add hurd_ihash_get_load, Samuel Thibault, 2014/05/27
- [hurd] 52/61: libdiskfs: fix type of dir_cache_id, node_cache_id, Samuel Thibault, 2014/05/27
- [hurd] 54/61: term: fix memory leak, Samuel Thibault, 2014/05/27
- [hurd] 48/61: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2014/05/27
- [hurd] 25/61: libports: reduce malloc overhead in _ports_bucket_class_iterate, Samuel Thibault, 2014/05/27
- [hurd] 42/61: proc: move translation functions to mig-decls.h, Samuel Thibault, 2014/05/27
- [hurd] 31/61: libports: unlock _ports_lock on malloc failure, Samuel Thibault, 2014/05/27
- [hurd] 61/61: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2014/05/27
- [hurd] 43/61: libihash: fix typo, Samuel Thibault, 2014/05/27
- [hurd] 56/61: ext2fs: fix diskfs_pager_users,
Samuel Thibault <=
- [hurd] 57/61: trans/mtab: fix initialization, Samuel Thibault, 2014/05/27
- [hurd] 55/61: libpager: drop unused fields from struct pager, Samuel Thibault, 2014/05/27
- [hurd] 49/61: libdiskfs: lock-less reference counting for peropen objects, Samuel Thibault, 2014/05/27
- [hurd] 30/61: ext2fs: use two distinct pager buckets for the disk and file pager, Samuel Thibault, 2014/05/27
- [hurd] 45/61: include: add lock-less reference counting primitives, Samuel Thibault, 2014/05/27
- [hurd] 58/61: libdiskfs: fix node leak in the name cache, Samuel Thibault, 2014/05/27
- [hurd] 51/61: pfinet: add missing include, Samuel Thibault, 2014/05/27
- [hurd] 38/61: libihash: use fast binary scaling to determine the load, Samuel Thibault, 2014/05/27
- [hurd] 53/61: Avoid compiler warning about empty bodies, Samuel Thibault, 2014/05/27
- [hurd] 60/61: libtrivfs: lock-less reference counting for trivfs_peropen objects, Samuel Thibault, 2014/05/27