ext4: fix race between sync and completed io work