Skip to content

Commit

Permalink
xfs-convert-dquot-cache-lru-to-list_lru-fix
Browse files Browse the repository at this point in the history
fix warnings

Cc: Dave Chinner <[email protected]>
Cc: Glauber Costa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
akpm00 authored and Al Viro committed Sep 10, 2013
1 parent cd56a39 commit 2f5b56f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/xfs/xfs_qm.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,15 +766,15 @@ xfs_qm_dquot_isolate(
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;

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2f5b56f

Please sign in to comment.