[PATCH v4] writeback: safer lock nesting