From a238d0e7edf95fbb3e95e11386a540eb69eff1fa Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Tue, 29 Mar 2016 21:04:44 +0300 Subject: [PATCH] LU-7259 osd-ldiskfs: fix signed one bit field Bit field 'ot_remove_agents' has one bit and is signed. Change-Id: Ia844a41552f8ca496ca39774296ecfa32b5966b3 Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/19198 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Frank Zago --- lustre/osd-ldiskfs/osd_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osd-ldiskfs/osd_internal.h b/lustre/osd-ldiskfs/osd_internal.h index e3a8d59..654884d 100644 --- a/lustre/osd-ldiskfs/osd_internal.h +++ b/lustre/osd-ldiskfs/osd_internal.h @@ -357,7 +357,7 @@ struct osd_thandle { unsigned short ot_credits; unsigned short ot_id_cnt; unsigned short ot_id_type; - int ot_remove_agents:1; + unsigned int ot_remove_agents:1; uid_t ot_id_array[OSD_MAX_UGID_CNT]; struct lquota_trans *ot_quota_trans; #if OSD_THANDLE_STATS -- 1.8.3.1