[PATCH v9] vfs_glusterfs: Samba VFS module for glusterfs

Jeremy Allison jra at samba.org
Wed May 29 15:01:29 MDT 2013


On Wed, May 29, 2013 at 01:58:08PM -0700, Jeremy Allison wrote:
> On Wed, May 29, 2013 at 01:54:20PM -0700, Anand Avati wrote:
> > 
> > 3. In our test case the fd number returned by vfs_gluster for the
> > initial open file _was_ 0. That dirfd() condition needs a fix, I
> > think?
> 
> Yep. That's why I fixed it in master and 4.0.x, it already came up in
> a breakage of a different vfs module that used the same trick.
> 
> > I don't know if the master branch has equivalent code elsewhere,
> > couldn't find it easily..
> 
> Oh now I understand, that's the broken code I fixed in master :-).
> It's already been back-ported to 4.0.x.
> 
> You'll need to back port the dirfd removal fixes from 4.0.x to
> 3.6.x in order for this to wotk. 

The bugzilla entry is #9778 - Samba directory code uses dirfd() without vectoring through a VFS call.

Re-open it and request a back-port of this code to 3.6.x and I'll work on it.

Sorry, not easy for me to do right now.

Jeremy.


More information about the samba-technical mailing list