NeilBrown
496400014f
[PATCH] nfsd4: fix fh_expire_type
...
We're returning NFS4_FH_NOEXPIRE_WITH_OPEN | NFS4_FH_VOL_RENAME for the
fh_expire_type attribute. This is incorrect:
1. The spec actually only allows NOEXPIRE_WITH_OPEN when
VOLATILE_ANY is also set.
2. Filehandles for open files can expire, if the file is removed
and there is a reboot.
3. Filehandles are only volatile on rename in the nosubtree check
case.
Unfortunately, there's no way to indicate that we only expire on remove. So
our only choice is FH4_VOLATILE_ANY. Although it's redundant, we also set
FH4_VOL_RENAME in the subtree check case, since subtreecheck does actually
cause problems in practice and it seems possibly useful to give clients some
way to distinguish that case.
Fix a mispelled #define while we're at it.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu >
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2005-06-24 00:06:28 -07:00
..
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:01 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:35 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-09 14:44:07 -07:00
2005-06-20 15:15:11 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:33 -07:00
2005-06-24 00:05:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:16 -07:00
2005-05-01 08:59:16 -07:00
2005-05-28 16:46:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 18:46:16 -07:00
2005-06-21 19:07:38 -07:00
2005-06-02 15:12:29 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:47 -07:00
2005-06-23 09:45:33 -07:00
2005-06-22 16:07:42 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:33 -07:00
2005-06-22 16:07:23 -04:00
2005-06-24 00:06:28 -07:00
2005-05-05 16:36:47 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-06 22:09:27 -07:00
2005-06-23 09:45:26 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-24 00:05:23 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:20 -07:00
2005-04-16 15:20:36 -07:00
2005-05-31 14:54:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-24 00:05:19 -07:00
2005-05-01 08:59:16 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:47 -07:00
2005-06-21 18:46:16 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 18:46:16 -07:00
2005-04-16 15:20:36 -07:00
2005-06-06 14:57:51 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:26 -07:00
2005-06-23 09:45:32 -07:00
2005-06-23 09:45:34 -07:00
2005-06-23 09:45:19 -07:00
2005-04-16 15:20:36 -07:00
2005-04-27 15:39:03 -07:00
2005-05-05 16:36:47 -07:00
2005-04-16 15:20:36 -07:00
2005-06-24 00:05:19 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:20 -07:00
2005-06-23 09:45:30 -07:00
2005-06-23 09:45:26 -07:00
2005-05-01 08:59:14 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:26 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:27 -07:00
2005-06-23 09:45:17 -07:00
2005-04-16 15:20:36 -07:00
2005-06-22 16:07:24 -04:00
2005-04-16 15:20:36 -07:00
2005-06-20 15:15:30 -07:00
2005-06-22 16:07:40 -04:00
2005-06-22 16:07:23 -04:00
2005-05-05 16:36:47 -07:00
2005-06-04 17:12:59 -07:00
2005-06-23 09:45:26 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:25:47 -07:00
2005-06-23 09:45:27 -07:00
2005-06-23 09:45:34 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:47 -07:00
2005-05-01 08:59:26 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:27 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00