Re: [Qemu-devel] [PATCH] 9pfs: add xattrwalk_fid field in V9fsFidState struct

2016-10-13 Thread Greg Kurz
On Wed, 12 Oct 2016 19:55:42 -0700 Li Qiang wrote: > From: Li Qiang > > Currently, 9pfs sets the fs.xattr.copied_len field in V9fsFidState > to -1 to indicate a xattr walk fid. As the fs.xattr.copied_len is also > used to account for copied bytes, this may cause confusion. This patch > add a bo

[Qemu-devel] [PATCH] 9pfs: add xattrwalk_fid field in V9fsFidState struct

2016-10-12 Thread Li Qiang
From: Li Qiang Currently, 9pfs sets the fs.xattr.copied_len field in V9fsFidState to -1 to indicate a xattr walk fid. As the fs.xattr.copied_len is also used to account for copied bytes, this may cause confusion. This patch add a bool variable to represent the xattr walk fid. Signed-off-by: Li Q