|
From: | Anand Avati |
Subject: | Re: [Gluster-devel] [PATCH v9] vfs_glusterfs: Samba VFS module for glusterfs |
Date: | Wed, 29 May 2013 14:12:04 -0700 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
On 5/29/13 2:01 PM, Jeremy Allison wrote:
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.
Doing that right now.. Is it possible to get a backport of 7e80793 (check_parent_exists() can change errno. Ensure we preserve it across calls.) into the release branches as well? Should I open a new bugzilla for that, or is it trivial enough to be done without a bug?
Is there any other comment on the v9 patch against master? Thanks! Avati
[Prev in Thread] | Current Thread | [Next in Thread] |