After three competitive game defeats in Camp Nou in a row, FC Barcelona ended the negative series with a narrow but deserved victory against RCD Mallorca.