tmpfs: fix race between swapoff and writepage