linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v9fs (9p): syscall setxattr inside kernel 3.14-rc1 returns size of set xattr
@ 2014-02-18 13:55 DENIEL Philippe
  2014-02-18 18:04 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: DENIEL Philippe @ 2014-02-18 13:55 UTC (permalink / raw)
  To: linux-fsdevel

Hi,

I run v9fs as a client on a F20, in front of my Ganesha server (see 
http://github.com/nfs-ganesha for details), using 9p.2000L
My acl non-regression test showed errors when I installed a recent 
3.14-rc1 kernel (I got it from kernel.org) on my F20 box.
Investigation showed that the setfacl command line got messy because 
setxattr() (called from acl_set_modify() in libattr.so) return a 
non-zero value when successful. Further investigation showed that this 
behavior seems to come from v9fs_fid_xattr_set() inside fs/9p/xattr.c in 
the kernel's source.

It seems like setxattr syscall does now return the size of the set 
xattr, and that seems to be the root cause of my problem. I do not 
believe that this change in setxattr is no bug, but a new feature. So I 
guess I should patch my libattr and/or glibc to use xattr/acl with 
kernel 3.14-rc1.
Question is : where could I get the right version of libattr source 
treee (eventually with libacl if needed).

     Regards

         Philippe

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-21 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 13:55 v9fs (9p): syscall setxattr inside kernel 3.14-rc1 returns size of set xattr DENIEL Philippe
2014-02-18 18:04 ` J. Bruce Fields
     [not found]   ` <5304BAC2.3050508@cea.fr>
     [not found]     ` <CAFkjPT=mSR5RLrMEOtzPrmiE558hOLNoTH0SL4D7tho4azOpmQ@mail.gmail.com>
     [not found]       ` <CAGG-pUSEsThPiE+3sm75GVoE7QwuEhwRnT+0+2=osFdKLbQMOA@mail.gmail.com>
2014-08-21 11:10         ` Fwd: " Geyslan Gregório Bem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).