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-10-04 13:28:07 +01:00
2016-10-28 15:51:27 +01: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-31 12:35:39 +00:00
2016-10-28 15:51:27 +01:00
2016-10-31 15:29:12 +00:00
2016-10-24 15:27:20 +02:00
2016-10-28 17:54:21 -07:00
2016-10-31 11:58:30 +00:00
2016-07-29 00:07:09 +03:00
2016-10-31 15:29:12 +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 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2016-10-31 12:35:39 +00:00
2016-10-28 17:54:49 -07:00
2016-10-24 15:27:20 +02:00
2016-10-04 13:28:07 +01:00