Trond Myklebust e761692381 NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately
A closer reading of RFC3530 reveals that OPEN_DOWNGRADE must always
 specify a access modes that have been the argument of a previous OPEN
 operation.
 IOW: doing OPEN(O_RDWR) and then OPEN_DOWNGRADE(O_WRONLY) is forbidden
 unless the user called OPEN(O_WRONLY)

 In order to fix that, we really need to track the three possible open
 states separately.

 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-01-06 14:58:43 -05:00
..
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:06 -08:00
2005-12-22 09:24:05 -08:00
2005-12-19 23:12:09 -05:00
2006-01-06 14:58:39 -05:00
2006-01-06 14:58:39 -05:00
2006-01-06 14:58:39 -05:00
2006-01-06 14:58:40 -05:00
2006-01-06 14:58:39 -05:00