1. 06 3月, 2010 3 次提交
  2. 09 2月, 2010 2 次提交
    • A
      9p: Fix the kernel crash on a failed mount · fb786100
      Aneesh Kumar K.V 提交于
      The patch fix the crash repoted below
      
      [   15.149907] BUG: unable to handle kernel NULL pointer dereference at 00000001
      [   15.150806] IP: [<c140b886>] p9_virtio_close+0x18/0x24
      .....
      ....
      [   15.150806] Call Trace:
      [   15.150806]  [<c1408e78>] ? p9_client_destroy+0x3f/0x163
      [   15.150806]  [<c1409342>] ? p9_client_create+0x25f/0x270
      [   15.150806]  [<c1063b72>] ? trace_hardirqs_on+0xb/0xd
      [   15.150806]  [<c11ed4e8>] ? match_token+0x64/0x164
      [   15.150806]  [<c1175e8d>] ? v9fs_session_init+0x2f1/0x3c8
      [   15.150806]  [<c109cfc9>] ? kmem_cache_alloc+0x98/0xb8
      [   15.150806]  [<c1063b72>] ? trace_hardirqs_on+0xb/0xd
      [   15.150806]  [<c1173dd1>] ? v9fs_get_sb+0x47/0x1e8
      [   15.150806]  [<c1173dea>] ? v9fs_get_sb+0x60/0x1e8
      [   15.150806]  [<c10a2e77>] ? vfs_kern_mount+0x81/0x11a
      [   15.150806]  [<c10a2f55>] ? do_kern_mount+0x33/0xbe
      [   15.150806]  [<c10b40b9>] ? do_mount+0x654/0x6b3
      [   15.150806]  [<c1038949>] ? do_page_fault+0x0/0x284
      [   15.150806]  [<c10b28ec>] ? copy_mount_options+0x73/0xd2
      [   15.150806]  [<c10b4179>] ? sys_mount+0x61/0x94
      [   15.150806]  [<c14284e9>] ? syscall_call+0x7/0xb
      ....
      [   15.203562] ---[ end trace 1dd159357709eb4b ]---
      [
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      fb786100
    • E
      net/9p: fix virtio transport to correctly update status on connect · 562ada61
      Eric Van Hensbergen 提交于
      The 9p virtio transport was not updating its connection status correctly
      preventing it from being able to mount the server.
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      562ada61
  3. 22 10月, 2009 1 次提交
    • C
      virtio: let header files include virtio_ids.h · e95646c3
      Christian Borntraeger 提交于
      Rusty,
      
      commit 3ca4f5ca
          virtio: add virtio IDs file
      moved all device IDs into a single file. While the change itself is
      a very good one, it can break userspace applications. For example
      if a userspace tool wanted to get the ID of virtio_net it used to
      include virtio_net.h. This does no longer work, since virtio_net.h
      does not include virtio_ids.h.
      This patch moves all "#include <linux/virtio_ids.h>" from the C
      files into the header files, making the header files compatible with
      the old ones.
      
      In addition, this patch exports virtio_ids.h to userspace.
      
      CC: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      e95646c3
  4. 23 9月, 2009 3 次提交
  5. 18 8月, 2009 1 次提交
  6. 12 6月, 2009 2 次提交
  7. 06 4月, 2009 1 次提交
  8. 18 10月, 2008 4 次提交
  9. 25 9月, 2008 1 次提交
    • T
      9p: implement proper trans module refcounting and unregistration · 72029fe8
      Tejun Heo 提交于
      9p trans modules aren't refcounted nor were they unregistered
      properly.  Fix it.
      
      * Add 9p_trans_module->owner and reference the module on each trans
        instance creation and put it on destruction.
      
      * Protect v9fs_trans_list with a spinlock.  This isn't strictly
        necessary as the list is manipulated only during module loading /
        unloading but it's a good idea to make the API safe.
      
      * Unregister trans modules when the corresponding module is being
        unloaded.
      
      * While at it, kill unnecessary EXPORT_SYMBOL on p9_trans_fd_init().
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
      72029fe8
  10. 15 5月, 2008 3 次提交
  11. 20 2月, 2008 1 次提交
  12. 18 2月, 2008 1 次提交
  13. 07 2月, 2008 4 次提交
  14. 04 2月, 2008 2 次提交
    • R
      virtio: explicit enable_cb/disable_cb rather than callback return. · 18445c4d
      Rusty Russell 提交于
      It seems that virtio_net wants to disable callbacks (interrupts) before
      calling netif_rx_schedule(), so we can't use the return value to do so.
      
      Rename "restart" to "cb_enable" and introduce "cb_disable" hook: callback
      now returns void, rather than a boolean.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      18445c4d
    • R
      virtio: simplify config mechanism. · a586d4f6
      Rusty Russell 提交于
      Previously we used a type/len pair within the config space, but this
      seems overkill.  We now simply define a structure which represents the
      layout in the config space: the config space can now only be extended
      at the end.
      
      The main driver-visible changes:
      1) We indicate what fields are present with an explicit feature bit.
      2) Virtqueues are explicitly numbered, and not in the config space.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      a586d4f6
  15. 24 10月, 2007 1 次提交