summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-26 10:29:07 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-26 13:52:34 +0100
commitc62faaa75e2bf2c82b7a905b27d29f70ae0c7591 (patch)
tree05898a6bff065defbd87d4e95001d06cce5a1834
parentb40be554e7775687a01704b9af0aa272cc9019d0 (diff)
downloadsamba-c62faaa75e2bf2c82b7a905b27d29f70ae0c7591.tar.gz
samba-c62faaa75e2bf2c82b7a905b27d29f70ae0c7591.tar.bz2
samba-c62faaa75e2bf2c82b7a905b27d29f70ae0c7591.zip
pvfs_qfileinfo: down discard the return value of pvfs_can_stat()
The odb_can_open() code returns DELETE_PENDING if a delete is really pending. metze (This used to be commit 066ba3c7cfff12cb0b5298fc45eabb5fc097d056)
-rw-r--r--source4/ntvfs/posix/pvfs_qfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_qfileinfo.c b/source4/ntvfs/posix/pvfs_qfileinfo.c
index 2f01c08fb0..8d23d707a4 100644
--- a/source4/ntvfs/posix/pvfs_qfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_qfileinfo.c
@@ -330,7 +330,7 @@ NTSTATUS pvfs_qpathinfo(struct ntvfs_module_context *ntvfs,
status = pvfs_can_stat(pvfs, req, name);
if (!NT_STATUS_IS_OK(status)) {
- return NT_STATUS_DELETE_PENDING;
+ return status;
}
status = pvfs_access_check_simple(pvfs, req, name,