From 908f7dc914c3dfc67ee8aa9246844ae92e63a3a0 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Fri, 10 Oct 2014 23:26:30 +0400 Subject: [PATCH] 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 --- lustre/include/lu_object.h | 2 +- lustre/obdclass/lu_object.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 1.8.3.1