trans_virtio.c (9938b04472d5c59f8bd8152a548533a8599596a2) | trans_virtio.c (1b8553c04bf95180eb91be94f089a1e8b38cfd62) |
---|---|
1/* 2 * The Virtio 9p transport driver 3 * 4 * This is a block based transport driver based on the lguest block driver 5 * code. 6 * 7 * Copyright (C) 2007, 2008 Eric Van Hensbergen, IBM Corporation 8 * --- 493 unchanged lines hidden (view full) --- 502 } 503 if (out_pages) { 504 p9_release_pages(out_pages, out_nr_pages); 505 atomic_sub(out_nr_pages, &vp_pinned); 506 } 507 /* wakeup anybody waiting for slots to pin pages */ 508 wake_up(&vp_wq); 509 } | 1/* 2 * The Virtio 9p transport driver 3 * 4 * This is a block based transport driver based on the lguest block driver 5 * code. 6 * 7 * Copyright (C) 2007, 2008 Eric Van Hensbergen, IBM Corporation 8 * --- 493 unchanged lines hidden (view full) --- 502 } 503 if (out_pages) { 504 p9_release_pages(out_pages, out_nr_pages); 505 atomic_sub(out_nr_pages, &vp_pinned); 506 } 507 /* wakeup anybody waiting for slots to pin pages */ 508 wake_up(&vp_wq); 509 } |
510 kfree(in_pages); 511 kfree(out_pages); | 510 kvfree(in_pages); 511 kvfree(out_pages); |
512 return err; 513} 514 515static ssize_t p9_mount_tag_show(struct device *dev, 516 struct device_attribute *attr, char *buf) 517{ 518 struct virtio_chan *chan; 519 struct virtio_device *vdev; --- 254 unchanged lines hidden --- | 512 return err; 513} 514 515static ssize_t p9_mount_tag_show(struct device *dev, 516 struct device_attribute *attr, char *buf) 517{ 518 struct virtio_chan *chan; 519 struct virtio_device *vdev; --- 254 unchanged lines hidden --- |