Adapt to new shrinker API

The patchset adapts Lustre shrinker implementation to new count/scan shrinker API.

The count/scan shrinker is still under review but is likely to be merged in next merge window. So we'd better prepare for it to avoid breaking build when Lustre is merged in the same merge window.

Peng Tao (4):
      staging/lustre/ldlm: convert to shrinkers to count/scan API
      staging/lustre/obdclass: convert lu_object shrinker to count/scan API
      staging/lustre/ptlrpc: convert to new shrinker API
      staging/lustre/libcfs: cleanup linux-mem.h

 .../lustre/include/linux/libcfs/linux/linux-mem.h  |   38 ------
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |  133 +++++++++++---------
 drivers/staging/lustre/lustre/obdclass/lu_object.c |   96 ++++++++-------
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c    |   74 ++++++-----
 4 files changed, 161 insertions(+), 180 deletions(-)