Revert "swap: add per-partition lock for swapfile"

This reverts commit ea6b6f0b6c110a073ce1bf5da777a6dd428282c9.