[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,
Can you comment on this one?
Thank you!

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.

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