s3/smbd: ntrans: vfs_streaminfo -> vfs_fstreaminfo
[samba.git] / source3 / smbd / nttrans.c
index 921f3fa692cd789f51842ce713060d5c78a69bff..ab9b2f06b4ff1e1f1aacd6ca28ec257fd094ca59 100644 (file)
@@ -794,7 +794,7 @@ void reply_ntcreate_and_X(struct smb_request *req)
                        }
                }
 
-               status = vfs_streaminfo(conn, NULL, smb_fname, ctx,
+               status = vfs_fstreaminfo(smb_fname->fsp, ctx,
                        &num_streams, &streams);
                /* There is always one stream, ::$DATA. */
                if (NT_STATUS_IS_OK(status) && num_streams > 1) {
@@ -1480,7 +1480,7 @@ static void call_nt_transact_create(connection_struct *conn,
                        }
                }
 
-               status = vfs_streaminfo(conn, NULL, smb_fname, ctx,
+               status = vfs_fstreaminfo(smb_fname->fsp, ctx,
                        &num_streams, &streams);
                /* There is always one stream, ::$DATA. */
                if (NT_STATUS_IS_OK(status) && num_streams > 1) {