Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-10-15 17:35:50 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-10-15 17:35:50 -0700
commitbbe02ca4f84967852e9728841d4542643070eb9e (patch)
treea79a7aa53e797dd746232afd36f131eb494c83f6
parentd99e5b2d9e99b89f9eb7cdafc724f8a11e3a85d4 (diff)
[PATCH] current_is_kswapd() is a function
From: William Lee Irwin III <wli@holomorphy.com> So call it rather than testing its address...
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
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);