From bbe02ca4f84967852e9728841d4542643070eb9e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 15 Oct 2003 17:35:50 -0700 Subject: [PATCH] [PATCH] current_is_kswapd() is a function From: William Lee Irwin III So call it rather than testing its address... --- fs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/inode.c b/fs/inode.c index 76d7881f2b60..4ba2baca5b0c 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -453,7 +453,7 @@ static void prune_icache(int nr_to_scan) dispose_list(&freeable); up(&iprune_sem); - if (current_is_kswapd) + if (current_is_kswapd()) mod_page_state(kswapd_inodesteal, reap); else mod_page_state(pginodesteal, reap); -- 2.39.5