[LU-3385] missing permission lock check in ll_have_md_lock. Created: 23/May/13  Updated: 13/Sep/13  Resolved: 31/May/13

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

Type: Bug Priority: Minor
Reporter: Di Wang Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3240 The link count is not updated after t... Resolved
Severity: 3
Rank (Obsolete): 8384

 Description   

In ll_have_md_lock, it check the lock with

for (i = 0; i < MDS_INODELOCK_MAXSHIFT && *bits != 0; i++)

{ ........ }

So the last bit(PERM) of INODELOCK is missing from the check.



 Comments   
Comment by Andreas Dilger [ 23/May/13 ]

http://review.whamcloud.com/6438

Comment by Jodi Levi (Inactive) [ 31/May/13 ]

Patch landed to master. Let me know if more patches are needed and I will reopen this ticket.

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