From eb1919722d317332b5f9d25e15c515100c229db9 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 14 Dec 2005 12:08:49 +0000 Subject: [PATCH] Priority explicitization. --- servers/fs/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/fs/cache.c b/servers/fs/cache.c index df2addf8e..3b5bcf36a 100644 --- a/servers/fs/cache.c +++ b/servers/fs/cache.c @@ -152,7 +152,7 @@ int block_type; /* INODE_BLOCK, DIRECTORY_BLOCK, or whatever */ * it on the front of the LRU chain where it will be the first one to be * taken when a free buffer is needed later. */ - if (bp->b_dev == DEV_RAM || block_type & ONE_SHOT) { + if (bp->b_dev == DEV_RAM || (block_type & ONE_SHOT)) { /* Block probably won't be needed quickly. Put it on front of chain. * It will be the next block to be evicted from the cache. */ -- 2.44.0