[PATCH 4/6] mf: Move locking from individual command helpers to command callback.