summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-08-28 02:18:08 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-11 00:56:31 +0200
commit2f5b56f85674d75f35a10e2e9a4310e7539280da (patch)
treeedf0cacb3cd7174e770e497412478dec0363f4b6 /fs/xfs
parentxfs: convert dquot cache lru to list_lru (diff)
downloadlinux-2f5b56f85674d75f35a10e2e9a4310e7539280da.tar.xz
linux-2f5b56f85674d75f35a10e2e9a4310e7539280da.zip
xfs-convert-dquot-cache-lru-to-list_lru-fix
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_qm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c
index 0fa98753bf67..1a4217e52c9f 100644
--- a/fs/xfs/xfs_qm.c
+++ b/fs/xfs/xfs_qm.c
@@ -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)