[LU-11153] the uninitialized variable "ver" could be used in qmt_set Created: 18/Jul/18  Updated: 06/Aug/18  Resolved: 06/Aug/18

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

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

in qmt_set, the "ver" is only initialized if the new quota setting will be written back to disk,
but for default quota setting, it is not needed to write back and the "ver" is not initialized.



 Comments   
Comment by Gerrit Updater [ 18/Jul/18 ]

Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/32827
Subject: LU-11153 quota: initialze ver for default quota
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fbc15c3315043555b30fbf402626c6a8bedc7102

Comment by Gerrit Updater [ 06/Aug/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32827/
Subject: LU-11153 quota: initialize ver for default quota
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c1bd96b4e015a68a9320816c37bf9ef27c419d33

Comment by Peter Jones [ 06/Aug/18 ]

Landed for 2.12

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