Try and fix the build farm RAW-STREAMS errors. Ordering of
authorJeremy Allison <jra@samba.org>
Thu, 26 Mar 2009 22:30:42 +0000 (15:30 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 26 Mar 2009 22:30:42 +0000 (15:30 -0700)
modules shouldn't matter, so as vfs_streams_depot doesn't
implement get/setxattrs then call into the full VFS stack
at the top.
Jeremy

source3/modules/vfs_streams_depot.c

index 023d2b9ec0a66ff5a867d41b95b0d417d4a81632..e5a70b1a49978cc7d3ff4ca795a5030e2e070f18 100644 (file)
@@ -78,7 +78,7 @@ static bool file_is_valid(vfs_handle_struct *handle, const char *path,
 
        DEBUG(10, ("file_is_valid (%s) called\n", path));
 
-       if (SMB_VFS_NEXT_GETXATTR(handle, path, SAMBA_XATTR_MARKER,
+       if (SMB_VFS_GETXATTR(handle->conn, path, SAMBA_XATTR_MARKER,
                                  &buf, sizeof(buf)) != sizeof(buf)) {
                DEBUG(10, ("GETXATTR failed: %s\n", strerror(errno)));
                return false;
@@ -104,7 +104,7 @@ static bool mark_file_valid(vfs_handle_struct *handle, const char *path,
 
        DEBUG(10, ("marking file %s as valid\n", path));
 
-       ret = SMB_VFS_NEXT_SETXATTR(handle, path, SAMBA_XATTR_MARKER,
+       ret = SMB_VFS_SETXATTR(handle->conn, path, SAMBA_XATTR_MARKER,
                                    &buf, sizeof(buf), 0);
 
        if (ret == -1) {