From: Andrew Morton Date: Fri, 7 Jun 2013 00:08:30 +0000 (+1000) Subject: xfs-convert-dquot-cache-lru-to-list_lru-fix X-Git-Tag: next-20130607~2^2~283 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e3014e2a01b806d54ae8949ee8ad3b8acdafaadf;p=karo-tx-linux.git xfs-convert-dquot-cache-lru-to-list_lru-fix fix warnings Cc: Dave Chinner Cc: Glauber Costa Signed-off-by: Andrew Morton --- diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index bd6c12a4b983..4f30d4dcf4b0 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -718,7 +718,7 @@ out_unlock_dirty: return 3; } -static long +static unsigned long xfs_qm_shrink_scan( struct shrinker *shrink, struct shrink_control *sc) @@ -726,7 +726,7 @@ xfs_qm_shrink_scan( struct xfs_quotainfo *qi = container_of(shrink, struct xfs_quotainfo, qi_shrinker); struct xfs_qm_isolate isol; - long freed; + unsigned long freed; int error; unsigned long nr_to_scan = sc->nr_to_scan; @@ -754,7 +754,7 @@ xfs_qm_shrink_scan( return freed; } -static long +static unsigned long xfs_qm_shrink_count( struct shrinker *shrink, struct shrink_control *sc)