[PATCH 5.10 032/238] block: add a new set_read_only method