From: Dmitry Eremin Date: Tue, 29 Mar 2016 17:37:02 +0000 (+0300) Subject: LU-7258 osc: fix signed one bit field X-Git-Tag: 2.8.55~40 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f73c9fe598c60558282ec23a124ed41cbfee1558;hp=74dca691cd5026c4e450eaaa47ada37bd040400c;p=fs%2Flustre-release.git 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 --- 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 */