Whamcloud - gitweb
LU-5577 obdclass: change lu_site->ls_purge_start to unsigned 84/12384/2
authorDmitry Eremin <dmitry.eremin@intel.com>
Fri, 10 Oct 2014 19:26:30 +0000 (23:26 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Nov 2014 18:09:30 +0000 (18:09 +0000)
Change the type accordant usage.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: Ic2d6906eff21ab1fe964899f0da9732e68c193f7
Reviewed-on: http://review.whamcloud.com/12384
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
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>
lustre/include/lu_object.h
lustre/obdclass/lu_object.c

index 7c8c737..b312539 100644 (file)
@@ -611,7 +611,7 @@ struct lu_site {
         /**
          * index of bucket on hash table while purging
          */
         /**
          * index of bucket on hash table while purging
          */
-       int                     ls_purge_start;
+       unsigned int            ls_purge_start;
        /**
         * Top-level device for this stack.
         */
        /**
         * Top-level device for this stack.
         */
index 6384421..cb19029 100644 (file)
@@ -343,8 +343,8 @@ int lu_site_purge(const struct lu_env *env, struct lu_site *s, int nr)
         cfs_hash_bd_t            bd;
         cfs_hash_bd_t            bd2;
        struct list_head         dispose;
         cfs_hash_bd_t            bd;
         cfs_hash_bd_t            bd2;
        struct list_head         dispose;
-        int                      did_sth;
-        int                      start;
+       int                      did_sth;
+       unsigned int             start;
         int                      count;
         int                      bnr;
        unsigned int             i;
         int                      count;
         int                      bnr;
        unsigned int             i;