From ea02bd686c50180147029f4b544ea6a4b538dce5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 26 Mar 2009 15:33:39 -0700 Subject: [PATCH] Try and fix the build farm RAW-STREAMS errors. Ordering of 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 (cherry picked from commit a1d9b31a0c8a38dbfa94f578830d5d35695aff3b) --- source/modules/vfs_streams_depot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/modules/vfs_streams_depot.c b/source/modules/vfs_streams_depot.c index a1a1fc1ad83..7a0ea08f7fa 100644 --- a/source/modules/vfs_streams_depot.c +++ b/source/modules/vfs_streams_depot.c @@ -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) { -- 2.11.4.GIT