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-11 09:46:54 -07:00
2005-09-09 13:57:27 -07:00
2005-10-29 21:40:42 -07:00
2005-09-09 13:57:31 -07:00
2005-10-04 13:22:01 -07:00
2005-10-27 13:55:12 -07:00
2005-10-28 09:52:52 -07:00
2005-09-10 10:06:35 -07:00
2005-09-05 00:05:52 -07:00
2005-10-30 17:37:26 -08:00
2005-10-30 17:37:26 -08:00
2005-10-30 17:37:32 -08:00
2005-09-07 16:57:46 -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-09-30 12:41:18 -07:00
2005-09-09 13:57:27 -07:00
2005-10-29 21:40:43 -07:00
2005-10-28 08:16:47 -07:00
2005-09-10 10:06:32 -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-09-09 13:57:27 -07:00
2005-10-30 17:37:32 -08:00
2005-09-09 13:57:27 -07:00
2005-11-04 15:33:38 -05:00
2005-10-11 09:46:54 -07:00
2005-09-13 08:22:32 -07:00
2005-11-01 15:49:31 +00:00
2005-11-01 09:26:16 +01:00
2005-10-31 13:37:12 +11:00
2005-09-09 13:57:27 -07:00
2005-10-30 17:37:17 -08:00
2005-10-10 08:39:50 -07:00
2005-09-10 10:06:36 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-10-30 17:37:32 -08:00
2005-11-04 10:51:01 +11:00
2005-10-23 16:38:38 -07:00
2005-10-30 17:37:27 -08:00
2005-10-29 21:40:38 -07:00
2005-10-29 21:40:38 -07:00
2005-10-30 17:37:18 -08:00
2005-10-29 21:40:38 -07:00
2005-10-29 21:40:38 -07:00
2005-10-28 08:16:47 -07:00
2005-10-30 17:37:27 -08:00
2005-10-30 17:37:17 -08:00
2005-10-29 21:40:39 -07: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-28 07:46:41 -07:00
2005-10-30 17:37:25 -08:00
2005-09-09 13:57:55 -07:00
2005-10-30 17:37:19 -08:00
2005-09-14 12:38:26 -07:00
2005-10-30 17:37:32 -08:00
2005-10-31 14:22:04 -08:00
2005-10-30 17:37:26 -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-09-09 14:03:44 -07:00
2005-10-28 08:16:47 -07:00
2005-10-08 15:00:57 -07:00
2005-10-30 17:37:18 -08:00
2005-09-10 10:06:32 -07:00
2005-10-18 14:20:16 -07:00
2005-09-10 10:06:22 -07:00
2005-10-08 15:00:57 -07:00
2005-11-03 13:53:34 +11:00
2005-09-29 15:42:08 -07:00
2005-09-09 13:57:55 -07:00
2005-10-30 17:37:19 -08:00
2005-10-30 17:37:11 -08:00