s4-streams: fixed handling of stream rename and overwrite
[ira/wip.git] / source4 / ntvfs / posix / pvfs_setfileinfo.c
index c70b44def05839736158aacee4537e0836e08cd7..b40ae9c9ded2d3662b058ef2f9b9805230989171 100644 (file)
@@ -108,7 +108,8 @@ static NTSTATUS pvfs_setfileinfo_rename_stream(struct pvfs_state *pvfs,
 
 
        status = pvfs_stream_rename(pvfs, name, fd, 
-                                   info->rename_information.in.new_name+1);
+                                   info->rename_information.in.new_name+1,
+                                   info->rename_information.in.overwrite);
        return status;
 }