diff options
author | Jeremy Allison <jra@samba.org> | 2009-03-26 15:33:39 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-03-27 13:06:57 +0100 |
commit | ea02bd686c50180147029f4b544ea6a4b538dce5 (patch) | |
tree | 7c6f44b8ad4ec5691a6334022c3ffa2b291e830f | |
parent | 037f8936204b49abf3b05a6e1ed755f4708f166f (diff) | |
download | samba-ea02bd686c50180147029f4b544ea6a4b538dce5.tar.gz samba-ea02bd686c50180147029f4b544ea6a4b538dce5.tar.xz samba-ea02bd686c50180147029f4b544ea6a4b538dce5.zip |
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)
-rw-r--r-- | source/modules/vfs_streams_depot.c | 4 |
1 files 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) { |