From: Dmitry Eremin Date: Fri, 10 Oct 2014 19:26:30 +0000 (+0400) Subject: LU-5577 obdclass: change lu_site->ls_purge_start to unsigned X-Git-Tag: 2.6.90~11 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=908f7dc914c3dfc67ee8aa9246844ae92e63a3a0;p=fs%2Flustre-release.git LU-5577 obdclass: change lu_site->ls_purge_start to unsigned Change the type accordant usage. Signed-off-by: Dmitry Eremin Change-Id: Ic2d6906eff21ab1fe964899f0da9732e68c193f7 Reviewed-on: http://review.whamcloud.com/12384 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lustre/include/lu_object.h b/lustre/include/lu_object.h index 7c8c737..b312539 100644 --- a/lustre/include/lu_object.h +++ b/lustre/include/lu_object.h @@ -611,7 +611,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. */ diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index 6384421..cb19029 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -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; - int did_sth; - int start; + int did_sth; + unsigned int start; int count; int bnr; unsigned int i;