xiubli@xxxxxxxxxx wrote: > -error: > +error_locked: > folio_unlock(folio); > folio_put(folio); > +error_unlocked: I would do: error: if (folio) { folio_unlock(folio); folio_put(folio); } David -- Linux-cachefs mailing list Linux-cachefs@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-cachefs