aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-08-27 20:18:06 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-10 18:56:31 -0400
commitaddbda40bed47d8942658fca93e14b5f1cbf009a (patch)
treec5423586f0b01c4f950d23262d06957b3fa22759
parente80dfa19976b884db1ac2bc5d7d6ca0a4027bd1c (diff)
xfs-convert-buftarg-lru-to-generic-code-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>
-rw-r--r--fs/xfs/xfs_buf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 665ff792d665..76c595a9ad48 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -1536,7 +1536,7 @@ xfs_buftarg_isolate(
1536 return LRU_REMOVED; 1536 return LRU_REMOVED;
1537} 1537}
1538 1538
1539static long 1539static unsigned long
1540xfs_buftarg_shrink_scan( 1540xfs_buftarg_shrink_scan(
1541 struct shrinker *shrink, 1541 struct shrinker *shrink,
1542 struct shrink_control *sc) 1542 struct shrink_control *sc)
@@ -1544,7 +1544,7 @@ xfs_buftarg_shrink_scan(
1544 struct xfs_buftarg *btp = container_of(shrink, 1544 struct xfs_buftarg *btp = container_of(shrink,
1545 struct xfs_buftarg, bt_shrinker); 1545 struct xfs_buftarg, bt_shrinker);
1546 LIST_HEAD(dispose); 1546 LIST_HEAD(dispose);
1547 long freed; 1547 unsigned long freed;
1548 unsigned long nr_to_scan = sc->nr_to_scan; 1548 unsigned long nr_to_scan = sc->nr_to_scan;
1549 1549
1550 freed = list_lru_walk_node(&btp->bt_lru, sc->nid, xfs_buftarg_isolate, 1550 freed = list_lru_walk_node(&btp->bt_lru, sc->nid, xfs_buftarg_isolate,
@@ -1560,7 +1560,7 @@ xfs_buftarg_shrink_scan(
1560 return freed; 1560 return freed;
1561} 1561}
1562 1562
1563static long 1563static unsigned long
1564xfs_buftarg_shrink_count( 1564xfs_buftarg_shrink_count(
1565 struct shrinker *shrink, 1565 struct shrinker *shrink,
1566 struct shrink_control *sc) 1566 struct shrink_control *sc)