pvfs_qfileinfo: down discard the return value of pvfs_can_stat()
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2008 09:29:07 +0000 (10:29 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2008 12:52:34 +0000 (13:52 +0100)
The odb_can_open() code returns DELETE_PENDING if
a delete is really pending.

metze

source/ntvfs/posix/pvfs_qfileinfo.c

index 2f01c08fb07d3e082d65989a121d46707b9ab468..8d23d707a430d11398ec5440fa7ab672c43513f5 100644 (file)
@@ -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,