From: Andrew Morton Date: Thu, 27 Jun 2013 23:52:19 +0000 (+1000) Subject: xfs-convert-dquot-cache-lru-to-list_lru-fix X-Git-Tag: next-20130628~3^2~405 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a62a95356c69e62df66cc6de451f3fffe932f4be;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)