s4-streams: fixed handling of stream rename and overwrite
[ira/wip.git] / source4 / ntvfs / posix / pvfs_rename.c
index 0616d38bee59e226e05ad0c6c8c909fd6885c7c2..d963357cbabd2ad4d0cd18537d6ae153c2746689 100644 (file)
@@ -515,7 +515,8 @@ static NTSTATUS pvfs_rename_stream(struct ntvfs_module_context *ntvfs,
        NT_STATUS_NOT_OK_RETURN(status);
 
        status = pvfs_stream_rename(pvfs, name1, -1, 
-                                   ren->ntrename.in.new_name+1);
+                                   ren->ntrename.in.new_name+1, 
+                                   true);
        NT_STATUS_NOT_OK_RETURN(status);
        
        return NT_STATUS_OK;