From: Andrew Morton <[email protected]>

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]>
(cherry picked from commit 2f5b56f85674d75f35a10e2e9a4310e7539280da)
Signed-off-by: Vladimir Davydov <[email protected]>
---
 fs/xfs/xfs_qm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c
index e83170499355..edf23494b594 100644
--- a/fs/xfs/xfs_qm.c
+++ b/fs/xfs/xfs_qm.c
@@ -510,7 +510,7 @@ out_unlock_dirty:
        return 3;
 }
 
-static long
+static unsigned long
 xfs_qm_shrink_scan(
        struct shrinker         *shrink,
        struct shrink_control   *sc)
@@ -518,7 +518,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;
 
@@ -546,7 +546,7 @@ xfs_qm_shrink_scan(
        return freed;
 }
 
-static long
+static unsigned long
 xfs_qm_shrink_count(
        struct shrinker         *shrink,
        struct shrink_control   *sc)
-- 
2.1.4

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to