From: Andrew Morton Date: Thu, 27 Jun 2013 23:52:18 +0000 (+1000) Subject: xfs-convert-buftarg-lru-to-generic-code-fix X-Git-Tag: next-20130628~3^2~408 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8a8944d4191c54d6e6abbad3f6cae5229b4d688e;p=karo-tx-linux.git xfs-convert-buftarg-lru-to-generic-code-fix fix warnings Cc: Dave Chinner Cc: Glauber Costa Signed-off-by: Andrew Morton --- diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index b19b8a4d9bcd..493783ebcee5 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -1535,7 +1535,7 @@ xfs_buftarg_isolate( return LRU_REMOVED; } -static long +static unsigned long xfs_buftarg_shrink_scan( struct shrinker *shrink, struct shrink_control *sc) @@ -1543,7 +1543,7 @@ xfs_buftarg_shrink_scan( struct xfs_buftarg *btp = container_of(shrink, struct xfs_buftarg, bt_shrinker); LIST_HEAD(dispose); - long freed; + unsigned long freed; unsigned long nr_to_scan = sc->nr_to_scan; freed = list_lru_walk_node(&btp->bt_lru, sc->nid, xfs_buftarg_isolate, @@ -1559,7 +1559,7 @@ xfs_buftarg_shrink_scan( return freed; } -static long +static unsigned long xfs_buftarg_shrink_count( struct shrinker *shrink, struct shrink_control *sc)