[LU-3500] must use __u64 when handling sp_cr_flags Created: 25/Jun/13  Updated: 03/Sep/13  Resolved: 03/Sep/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: Lustre 2.5.0

Type: Bug Priority: Critical
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: mdt

Severity: 3
Rank (Obsolete): 8803

 Description   

struct md_op_spec's member sp_cr_flags is a __u64 mask which is actually used
to store some flags the will not fit in __u32, for example MDS_OPEN_VOLATILE = 0400000000000ULL = 0x800000000. Code that copies this field should use __u64 and not __u32 as occurs in some places.



 Comments   
Comment by John Hammond [ 02/Jul/13 ]

Please see http://review.whamcloud.com/6868.

Comment by John Hammond [ 03/Sep/13 ]

Patch landed to master.

Generated at Sat Feb 10 01:34:27 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.