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>
return 3;
}
-static long
+static unsigned long
xfs_qm_shrink_scan(
struct shrinker *shrink,
struct shrink_control *sc)
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;
return freed;
}
-static long
+static unsigned long
xfs_qm_shrink_count(
struct shrinker *shrink,
struct shrink_control *sc)