s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo
[samba.git] / source3 / smbd / open.c
index 1659df9036610ecef39a1d64e5e501e2ca3e9254..4a5d57cfb7b02dd6e5319959a749d8eee56348e1 100644 (file)
@@ -4951,7 +4951,7 @@ static NTSTATUS open_streams_for_delete(connection_struct *conn,
        } else {
                pathref = smb_fname;
        }
-       status = vfs_streaminfo(conn, NULL, pathref, talloc_tos(),
+       status = vfs_fstreaminfo(pathref->fsp, talloc_tos(),
                                &num_streams, &stream_info);
 
        if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)
@@ -4962,7 +4962,7 @@ static NTSTATUS open_streams_for_delete(connection_struct *conn,
        }
 
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(10, ("vfs_streaminfo failed: %s\n",
+               DEBUG(10, ("vfs_fstreaminfo failed: %s\n",
                           nt_errstr(status)));
                goto fail;
        }