From f73c9fe598c60558282ec23a124ed41cbfee1558 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Tue, 29 Mar 2016 20:37:02 +0300 Subject: [PATCH] LU-7258 osc: fix signed one bit field Bit field 'oi_lockless' and 'oi_is_active' has one bit and is signed. Change-Id: Ib2fb92faf29ced057438a090dad382258eb9fc40 Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/19196 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Frank Zago Reviewed-by: John L. Hammond --- lustre/osc/osc_cl_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_cl_internal.h b/lustre/osc/osc_cl_internal.h index dbfad66..b8fd156 100644 --- a/lustre/osc/osc_cl_internal.h +++ b/lustre/osc/osc_cl_internal.h @@ -65,7 +65,7 @@ struct osc_io { /** super class */ struct cl_io_slice oi_cl; /** true if this io is lockless. */ - int oi_lockless:1, + unsigned int oi_lockless:1, /** true if this io is counted as active IO */ oi_is_active:1; /** how many LRU pages are reserved for this IO */ -- 1.8.3.1