[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: |
|
||||||||
| 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 ] |
| 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. |