From 05c038fb86555e2ee26d051ca002eeac1c1669ce 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 --- 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 2a5b7a939e6..20e28d9e88d 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.34.1