summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_open.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-03 16:45:35 -0800
committerJeremy Allison <jra@samba.org>2009-12-03 16:45:35 -0800
commit3fe7dfd1d90374a2e06e1683b8f2c702c471c833 (patch)
treee98772e88258e3940251fad002757acd75c0c8ef /source3/modules/onefs_open.c
parent459a968fb4d6f96ea7f310f331d3547e2e466d6a (diff)
downloadsamba-3fe7dfd1d90374a2e06e1683b8f2c702c471c833.tar.gz
samba-3fe7dfd1d90374a2e06e1683b8f2c702c471c833.tar.bz2
samba-3fe7dfd1d90374a2e06e1683b8f2c702c471c833.zip
Remove smb_fname duplicates that just keep the same information as in fsp->fsp_name.
Moving towards making VFS_OPEN/VFS_MKDIR/VFS_RMDIR handle based... Jeremy.
Diffstat (limited to 'source3/modules/onefs_open.c')
-rw-r--r--source3/modules/onefs_open.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c
index b96c4b6afb..2b4e106f91 100644
--- a/source3/modules/onefs_open.c
+++ b/source3/modules/onefs_open.c
@@ -322,13 +322,6 @@ static NTSTATUS onefs_open_file(files_struct *fsp,
fsp->aio_write_behind = True;
}
- status = fsp_set_smb_fname(fsp, smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
- fd_close(fsp);
- errno = map_errno_from_nt_status(status);
- return status;
- }
-
fsp->wcp = NULL; /* Write cache pointer. */
DEBUG(2,("%s opened file %s read=%s write=%s (numopen=%d)\n",