diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-06-03 09:38:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:51 -0500 |
commit | dc4ccc6f6575bc98f17eccebd7e058eedaff02aa (patch) | |
tree | 24c30c982204ec68ff83f890240a87735e6684fb /source4/ntvfs/posix/pvfs_xattr.c | |
parent | 594ae8f9e193106b8b32102aa8c8c8d48045395b (diff) | |
download | samba-dc4ccc6f6575bc98f17eccebd7e058eedaff02aa.tar.gz samba-dc4ccc6f6575bc98f17eccebd7e058eedaff02aa.tar.bz2 samba-dc4ccc6f6575bc98f17eccebd7e058eedaff02aa.zip |
r16024: OpenBSD doesn't have ENOTSUP so use ENOSYS
metze
(This used to be commit 505d55de69e1c5a9e763534dd392caac79e49ff1)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_xattr.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_xattr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_xattr.c b/source4/ntvfs/posix/pvfs_xattr.c index 09f1c9fdc8..e5b4fdaa90 100644 --- a/source4/ntvfs/posix/pvfs_xattr.c +++ b/source4/ntvfs/posix/pvfs_xattr.c @@ -47,8 +47,10 @@ static NTSTATUS pull_xattr_blob(struct pvfs_state *pvfs, fd, estimated_size, blob); /* if the filesystem doesn't support them, then tell pvfs not to try again */ - if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) { - DEBUG(5,("pvfs_xattr: xattr not supported in filesystem\n")); + if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)|| + NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)|| + NT_STATUS_EQUAL(status, NT_STATUS_INVALID_SYSTEM_SERVICE)) { + DEBUG(5,("pvfs_xattr: xattr not supported in filesystem: %s\n", nt_errstr(status))); pvfs->flags &= ~PVFS_FLAG_XATTR_ENABLE; status = NT_STATUS_NOT_FOUND; } |