staging: lustre: obdclass: change lu_site->ls_purge_start to unsigned
authorDmitry Eremin <dmitry.eremin@intel.com>
Sun, 18 Sep 2016 20:38:04 +0000 (16:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Sep 2016 07:51:51 +0000 (09:51 +0200)
Change the type accordant usage.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5577
Reviewed-on: http://review.whamcloud.com/12384
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lu_object.h
drivers/staging/lustre/lustre/obdclass/lu_object.c

index 7b37cae0d2674db0ec008008346dc5e89feb6f0a..260643ee0d481c0e6175b4561fb62411ff4350ad 100644 (file)
@@ -602,7 +602,7 @@ struct lu_site {
        /**
         * index of bucket on hash table while purging
         */
-       int                    ls_purge_start;
+       unsigned int            ls_purge_start;
        /**
         * Top-level device for this stack.
         */
index e284e5decd1426f933935a99a28dc1baa4d02568..4395117514024ec198240a57b9e878a2e01e3b7c 100644 (file)
@@ -338,7 +338,7 @@ int lu_site_purge(const struct lu_env *env, struct lu_site *s, int nr)
        struct cfs_hash_bd          bd2;
        struct list_head               dispose;
        int                   did_sth;
-       int                   start;
+       unsigned int start;
        int                   count;
        int                   bnr;
        unsigned int i;