diff options
Diffstat (limited to 'source3/modules/onefs_streams.c')
-rw-r--r-- | source3/modules/onefs_streams.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/modules/onefs_streams.c b/source3/modules/onefs_streams.c index 91917eef44..d33d9f30a2 100644 --- a/source3/modules/onefs_streams.c +++ b/source3/modules/onefs_streams.c @@ -463,14 +463,12 @@ int onefs_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname) } int onefs_unlink(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) + const struct smb_filename *smb_fname) { struct smb_filename *smb_fname_onefs = NULL; int ret; - bool is_stream; - char *base = NULL; - char *stream = NULL; int dir_fd, saved_errno; + NTSTATUS status; /* Not a stream. */ if (!is_ntfs_stream_smb_fname(smb_fname)) { @@ -520,10 +518,6 @@ int onefs_vtimes_streams(vfs_handle_struct *handle, START_PROFILE(syscall_ntimes); - ret = onefs_is_stream(fname, &base, &stream, &is_stream); - if (ret) - return ret; - if (!is_ntfs_stream_smb_fname(smb_fname)) { ret = vtimes(smb_fname->base_name, times, flags); return ret; |