[LU-8188] osd_thandle::ot_remove_agents is a one bit signed field Created: 22/May/16  Updated: 20/Jun/16  Resolved: 20/Jun/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: easy

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

ot_remove_agents in struct osd_thandle is defined as

        int                     ot_remove_agents:1;

This makes no sense and needs to be converted to unsigned.



 Comments   
Comment by parinay v kondekar (Inactive) [ 20/Jun/16 ]
$ git show a238d0e7 --pretty=fuller
commit a238d0e7edf95fbb3e95e11386a540eb69eff1fa
Author:     Dmitry Eremin <dmitry.eremin@intel.com>
AuthorDate: Tue Mar 29 21:04:44 2016 +0300
Commit:     Oleg Drokin <oleg.drokin@intel.com>
CommitDate: Tue Jun 14 03:53:01 2016 +0000

    LU-7259 osd-ldiskfs: fix signed one bit field
    
    Bit field 'ot_remove_agents' has one bit and is signed.

DUP of LU-7259

Comment by Oleg Drokin [ 20/Jun/16 ]

Dup of LU-7259

Generated at Sat Feb 10 02:15:24 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.