Greg Kurz
dd654e0365
9pfs: xattrcreate requires non-opened fids
...
The xattrcreate operation only makes sense on a freshly cloned fid
actually, since any open state would be leaked because of the fid_type
change. This is indeed what the linux kernel client does:
fid = clone_fid(fid);
[...]
retval = p9_client_xattrcreate(fid, name, value_len, flags);
This patch also reverts commit ff55e94d23ae since we are sure that a fid
with type P9_FID_NONE doesn't have a previously allocated xattr.
Signed-off-by: Greg Kurz <groug@kaod.org>
2016-11-01 12:03:02 +01:00
..
2016-11-01 12:03:02 +01:00
2016-10-24 17:29:15 -02:00
2016-10-04 13:28:07 +01:00
2016-10-24 15:27:20 +02:00
2016-10-28 15:51:27 +01:00
2016-10-26 14:51:44 +02:00
2016-10-31 12:35:39 +00:00
2016-10-24 15:46:10 +02:00
2016-10-31 12:35:39 +00:00
2016-10-24 16:26:52 +01:00
2016-07-12 16:20:46 +02:00
2016-10-31 12:35:39 +00:00
2016-10-17 19:22:17 +01:00
2016-10-28 15:51:27 +01:00
2016-10-24 16:48:02 +01:00
2016-10-31 15:29:12 +00:00
2016-10-27 16:29:13 -04:00
2016-10-28 09:38:26 +11:00
2016-10-28 09:38:26 +11:00
2016-10-24 15:46:10 +02:00
2016-10-24 15:27:20 +02:00
2016-07-12 16:20:46 +02:00
2016-10-08 11:25:29 +03:00
2016-09-28 19:17:54 +01:00
2016-10-28 18:17:24 +03:00
2016-10-28 18:17:24 +03:00
2016-10-28 18:17:23 +03:00
2016-10-28 17:54:21 -07:00
2016-10-31 11:58:30 +00:00
2016-08-12 10:36:01 +01:00
2016-10-28 18:17:24 +03:00
2016-07-29 00:07:09 +03:00
2016-10-31 15:29:12 +00:00
2016-10-31 14:48:47 +00:00
2016-10-31 10:10:16 +00:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-29 11:43:22 +08:00
2016-10-28 09:36:58 +11:00
2016-10-28 09:36:58 +11:00
2016-10-24 15:27:20 +02:00
2016-10-28 18:17:24 +03:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2016-10-28 18:17:24 +03:00
2016-10-31 12:35:39 +00:00
2016-10-31 09:53:04 -06:00
2016-10-24 15:27:21 +02:00
2016-10-28 17:54:49 -07:00
2016-09-29 11:43:17 +08:00
2016-10-24 15:27:20 +02:00
2016-10-04 13:28:07 +01:00