diff options
author | Tim Prouty <tprouty@samba.org> | 2008-11-19 18:03:27 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-12-03 17:51:07 -0800 |
commit | 2caa4fe08e157a01012b425a68cc25c381d5f354 (patch) | |
tree | 5e7a388e6d43f215b3ce25244b988d35f34c43bc /source3/smbd/reply.c | |
parent | 61b4597e3c9016b3fdd540857abf3b72963ad4b2 (diff) | |
download | samba-2caa4fe08e157a01012b425a68cc25c381d5f354.tar.gz samba-2caa4fe08e157a01012b425a68cc25c381d5f354.tar.bz2 samba-2caa4fe08e157a01012b425a68cc25c381d5f354.zip |
s3: Modify direct callers of create_file_unix_path to call SMB_VFS_CREATE_FILE
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 80292636a6..2465e73a18 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2315,10 +2315,12 @@ static NTSTATUS do_unlink(connection_struct *conn, /* On open checks the open itself will check the share mode, so don't do it here as we'll get it wrong. */ - status = create_file_unixpath + status = SMB_VFS_CREATE_FILE (conn, /* conn */ req, /* req */ + 0, /* root_dir_fid */ fname, /* fname */ + false, /* is_dos_path */ DELETE_ACCESS, /* access_mask */ FILE_SHARE_NONE, /* share_access */ FILE_OPEN, /* create_disposition*/ @@ -2333,7 +2335,7 @@ static NTSTATUS do_unlink(connection_struct *conn, &sbuf); /* psbuf */ if (!NT_STATUS_IS_OK(status)) { - DEBUG(10, ("create_file_unixpath failed: %s\n", + DEBUG(10, ("SMB_VFS_CREATEFILE failed: %s\n", nt_errstr(status))); return status; } |