提交 2f5b56f8 编写于 作者: A Andrew Morton 提交者: Al Viro

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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 cd56a39a
...@@ -766,7 +766,7 @@ xfs_qm_dquot_isolate( ...@@ -766,7 +766,7 @@ xfs_qm_dquot_isolate(
return 3; return 3;
} }
static long static unsigned long
xfs_qm_shrink_scan( xfs_qm_shrink_scan(
struct shrinker *shrink, struct shrinker *shrink,
struct shrink_control *sc) struct shrink_control *sc)
...@@ -774,7 +774,7 @@ xfs_qm_shrink_scan( ...@@ -774,7 +774,7 @@ xfs_qm_shrink_scan(
struct xfs_quotainfo *qi = container_of(shrink, struct xfs_quotainfo *qi = container_of(shrink,
struct xfs_quotainfo, qi_shrinker); struct xfs_quotainfo, qi_shrinker);
struct xfs_qm_isolate isol; struct xfs_qm_isolate isol;
long freed; unsigned long freed;
int error; int error;
unsigned long nr_to_scan = sc->nr_to_scan; unsigned long nr_to_scan = sc->nr_to_scan;
...@@ -802,7 +802,7 @@ xfs_qm_shrink_scan( ...@@ -802,7 +802,7 @@ xfs_qm_shrink_scan(
return freed; return freed;
} }
static long static unsigned long
xfs_qm_shrink_count( xfs_qm_shrink_count(
struct shrinker *shrink, struct shrinker *shrink,
struct shrink_control *sc) struct shrink_control *sc)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册