From: Dmitry Eremin Date: Tue, 29 Mar 2016 18:04:44 +0000 (+0300) Subject: LU-7259 osd-ldiskfs: fix signed one bit field X-Git-Tag: 2.8.55~39 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=a238d0e7edf95fbb3e95e11386a540eb69eff1fa 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 --- 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