[PATCH 6.16 240/457] memstick: Fix deadlock by moving removing flag earlier