Trond Myklebust d530838bfa NFSv4: Fix problem with OPEN_DOWNGRADE
RFC 3530 states that for OPEN_DOWNGRADE "The share_access and share_deny
 bits specified must be exactly equal to the union of the share_access and
 share_deny bits specified for some subset of the OPENs in effect for
 current openowner on the current file.

 Setattr is currently violating the NFSv4 rules for OPEN_DOWNGRADE in that
 it may cause a downgrade from OPEN4_SHARE_ACCESS_BOTH to
 OPEN4_SHARE_ACCESS_WRITE despite the fact that there exists no open file
 with O_WRONLY access mode.

 Fix the problem by replacing nfs4_find_state() with a modified version of
 nfs_find_open_context().

 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2005-11-04 15:33:38 -05:00
..
2005-10-29 21:40:42 -07:00
2005-10-04 13:22:01 -07:00
2005-10-30 17:37:24 -08:00
2005-10-28 08:16:47 -07:00
2005-10-28 08:16:47 -07:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:32 -08:00
2005-10-29 21:40:42 -07:00
2005-09-23 12:38:47 -04:00
2005-10-31 13:37:12 +11:00
2005-10-30 17:37:27 -08:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:27 -08:00
2005-10-28 08:16:47 -07:00
2005-10-29 21:40:39 -07:00
2005-10-30 17:37:19 -08:00
2005-09-09 13:57:55 -07:00
2005-10-30 17:37:32 -08:00
2005-10-23 16:38:39 -07:00
2005-10-30 17:37:10 -08:00
2005-10-30 17:37:10 -08:00
2005-10-18 14:20:21 -07:00
2005-10-28 08:16:47 -07:00
2005-10-08 15:00:57 -07:00
2005-09-10 10:06:22 -07:00
2005-09-09 13:57:55 -07:00
2005-10-30 17:37:19 -08:00