[LU-5013] LL_IOC_{GET,SET}_LEASE ioctls return FMODE_{READ,WRITE} Created: 06/May/14 Updated: 31/Jul/14 Resolved: 31/Jul/14 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llite, tests | ||
| Severity: | 3 |
| Rank (Obsolete): | 13876 |
| Description |
|
The handler for LL_IOC_{GET,SET}_LEASE
may return FMODE_{READ,WRITE}
according to the type of lease. FMODE_{READ,WRITE}
are internal to the Linux kernel and should not be used in this way. The only user of these ioctls is multiop so it's a good time to fix them. |
| Comments |
| Comment by Jodi Levi (Inactive) [ 06/May/14 ] |
|
Jinshan, |
| Comment by John Hammond [ 06/May/14 ] |
|
Please see http://review.whamcloud.com/#/c/10233/. |
| Comment by John Hammond [ 31/Jul/14 ] |
|
Patch landed to master. |