X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fptlrpc%2Fsec_bulk.c;h=7243e8f6d5146842c381878266789a77ad96551b;hb=5872f585d91d277ffc27e703c1564c361f3a8a23;hp=a42dacb3e3cf5eb595be339bbf08b4157585de2a;hpb=e550abd05cf7ffddaedbef996be1baaae0912b4a;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/sec_bulk.c b/lustre/ptlrpc/sec_bulk.c index a42dacb..7243e8f 100644 --- a/lustre/ptlrpc/sec_bulk.c +++ b/lustre/ptlrpc/sec_bulk.c @@ -239,7 +239,8 @@ static void enc_pools_release_free_pages(long npages) * could be called frequently for query (@nr_to_scan == 0). * we try to keep at least PTLRPC_MAX_BRW_PAGES pages in the pool. */ -static int KERN_SHRINKER(enc_pools_shrink) +static int enc_pools_shrink(SHRINKER_FIRST_ARG int nr_to_scan, + unsigned int gfp_mask) { if (unlikely(nr_to_scan != 0)) { cfs_spin_lock(&page_pools.epp_lock);