git: kernel - Fix direct getpages call to devfs cdev

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 4 18:44:17 PDT 2010


commit ad8b1a17d50a3731619b491ad2f79e7d69a7d76b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 4 18:40:50 2010 -0700

    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

Summary of changes:
 sys/vfs/devfs/devfs_vnops.c |    2 +-
 sys/vfs/nwfs/nwfs_io.c      |    4 ++--
 sys/vfs/smbfs/smbfs_io.c    |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad8b1a17d50a3731619b491ad2f79e7d69a7d76b


-- 
DragonFly BSD source repository





More information about the Commits mailing list