diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-27 22:22:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-28 08:11:04 +0100 |
commit | c3ce0a0b95b6051a356c72424c2d62b77a0e81df (patch) | |
tree | 60c6edea69fcb5a4d2bc32e62d9c856abcb30959 /source4 | |
parent | bc1b595555bd667755291184aa380b011ed51795 (diff) | |
download | samba-c3ce0a0b95b6051a356c72424c2d62b77a0e81df.tar.gz samba-c3ce0a0b95b6051a356c72424c2d62b77a0e81df.tar.bz2 samba-c3ce0a0b95b6051a356c72424c2d62b77a0e81df.zip |
pvfs_open: fix callers of odb_get_delete_on_close()
metze
(This used to be commit 608e5cd881d64b8db9146dfc4b3a1778a93a0f8e)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index 3c2fa73df8..740a0a9d13 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -560,7 +560,7 @@ static NTSTATUS pvfs_create_file(struct pvfs_state *pvfs, status = pvfs_locking_key(parent, req, &locking_key); NT_STATUS_NOT_OK_RETURN(status); status = odb_get_delete_on_close(pvfs->odb_context, &locking_key, - &del_on_close, NULL, NULL); + &del_on_close); NT_STATUS_NOT_OK_RETURN(status); if (del_on_close) { return NT_STATUS_DELETE_PENDING; @@ -1730,7 +1730,7 @@ bool pvfs_delete_on_close_set(struct pvfs_state *pvfs, struct pvfs_file_handle * bool del_on_close; status = odb_get_delete_on_close(pvfs->odb_context, &h->odb_locking_key, - &del_on_close, open_count, path); + &del_on_close); if (!NT_STATUS_IS_OK(status)) { DEBUG(1,("WARNING: unable to determine delete on close status for open file\n")); return false; |