]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xfs-convert-dquot-cache-lru-to-list_lru-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 7 Jun 2013 00:08:30 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:36 +0000 (15:42 +1000)
fix warnings

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

index bd6c12a4b98316cdd27fafbb01348bcde7a9e95a..4f30d4dcf4b0631f01d2997dc2e98a367445ada3 100644 (file)
@@ -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)