Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.6.0
-
3
-
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.
Attachments
Activity
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: Lustre 2.7.0 [ 10631 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: John Hammond [ jhammond ] |
Description | Original: 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. | New: The handler for {code}LL_IOC_{GET,SET}_LEASE{code} may return {code}FMODE_{READ,WRITE}{code} according to the type of lease. {code}FMODE_{READ,WRITE}{code} 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. |
Patch landed to master.