xfs-convert-dquot-cache-lru-to-list_lru-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 28 Aug 2013 00:18:08 +0000 (10:18 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Sep 2013 22:56:31 +0000 (18:56 -0400)
fix warnings

Cc: Dave Chinner <dchinner@redhat.com>
Cc: Glauber Costa <glommer@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/xfs/xfs_qm.c

index 0fa98753bf67630c7d45267e2628161f0d50159f..1a4217e52c9fcd1d88e31719c7f0068f67e1efc2 100644 (file)
@@ -766,7 +766,7 @@ out_unlock_dirty:
        return 3;
 }
 
-static long
+static unsigned long
 xfs_qm_shrink_scan(
        struct shrinker         *shrink,
        struct shrink_control   *sc)
@@ -774,7 +774,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;
 
@@ -802,7 +802,7 @@ xfs_qm_shrink_scan(
        return freed;
 }
 
-static long
+static unsigned long
 xfs_qm_shrink_count(
        struct shrinker         *shrink,
        struct shrink_control   *sc)