[PATCH 6.6 480/587] memstick: Fix deadlock by moving removing flag earlier