diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-06-07 10:08:30 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-06-17 18:17:34 +1000 |
commit | 30b8883cfa1ab94ee6fb2383c981c8d0dd4edb47 (patch) | |
tree | 32879e270bc4b9722549c97658b6e0dc5d0980b3 /fs/quota/dquot.c | |
parent | b2861ace409942a1afc236dcb18cdf1b1b4dff66 (diff) |
fs-convert-fs-shrinkers-to-new-scan-count-api-fix
fix warnings
Cc: Dave Chinner <dchinner@redhat.com>
Cc: Glauber Costa <glommer@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/quota/dquot.c')
-rw-r--r-- | fs/quota/dquot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 930a1b7ada56..b3d1ac9eb030 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c @@ -687,12 +687,12 @@ int dquot_quota_sync(struct super_block *sb, int type) } EXPORT_SYMBOL(dquot_quota_sync); -static long +static unsigned long dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) { struct list_head *head; struct dquot *dquot; - long freed = 0; + unsigned long freed = 0; head = free_dquots.prev; while (head != &free_dquots && sc->nr_to_scan) { @@ -708,7 +708,7 @@ dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) return freed; } -static long +static unsigned long dqcache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) { return vfs_pressure_ratio( |