kernel - Fix direct getpages call to devfs cdev
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 5 Sep 2010 01:40:50 +0000 (18:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 5 Sep 2010 01:40:50 +0000 (18:40 -0700)
commitad8b1a17d50a3731619b491ad2f79e7d69a7d76b
treec09d0ee93f7cbe4b618d3164599dd0e10bb50ecc
parent5c1d5f37327aa265afcbf80a27683474c971d19a
kernel - Fix direct getpages call to devfs cdev

* This will be used by swapoff to bring pages in via VM objects.  devfs
  was using getpbuf() when it really needed to be using getpbuf_kva().

Found-via: Ilya Dryomov's swapoff port
sys/vfs/devfs/devfs_vnops.c
sys/vfs/nwfs/nwfs_io.c
sys/vfs/smbfs/smbfs_io.c