[PATCH 5.15 347/371] nilfs2: do not write dirty data after degenerating to read-only