Re: [Qemu-devel] [PATCH] hw/9pfs: Fix errno value for xattr functions

2013-10-01 Thread Aneesh Kumar K.V
"Daniel P. Berrange" writes: > From: "Daniel P. Berrange" > > If there is no operation driver for the xattr type the > functions return '-1' and set errno to '-EOPNOTSUPP'. > When the calling code sets 'ret = -errno' this turns > into a large positive number. > > In Linux 3.11, the kernel has sw

[Qemu-devel] [PATCH] hw/9pfs: Fix errno value for xattr functions

2013-10-01 Thread Daniel P. Berrange
From: "Daniel P. Berrange" If there is no operation driver for the xattr type the functions return '-1' and set errno to '-EOPNOTSUPP'. When the calling code sets 'ret = -errno' this turns into a large positive number. In Linux 3.11, the kernel has switched to using 9p version 9p2000.L, instead