Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-73 Make register_shrinker argument more visible.
[fs/lustre-release.git]
/
lustre
/
obdclass
/
lu_object.c
diff --git
a/lustre/obdclass/lu_object.c
b/lustre/obdclass/lu_object.c
index
69aa691
..
3023736
100644
(file)
--- a/
lustre/obdclass/lu_object.c
+++ b/
lustre/obdclass/lu_object.c
@@
-1626,7
+1626,8
@@
static void lu_site_stats_get(cfs_hash_t *hs,
}
#ifdef __KERNEL__
-static int KERN_SHRINKER(lu_cache_shrink)
+static int lu_cache_shrink(SHRINKER_FIRST_ARG int nr_to_scan,
+ unsigned int gfp_mask)
{
lu_site_stats_t stats;
struct lu_site *s;