[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH][BLKBACK] Clean code by VBD_SHOW macro in xenbus.c

  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
  • Date: Fri, 30 Jun 2006 14:05:59 +0900
  • Delivery-date: Thu, 29 Jun 2006 22:06:42 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcacAuCL3ZNIto4fQmyVblGs9SZD3g==

This patch is cleaning code in xenbus.c by VBD_SHOW macro.

VBD_SHOW macro can be applied show functions with corresponded to 
'physical_devices' and 'mode' attributes.
And corresponding 'device_create_file' and 'device_remove_file' function can be 
into 'xenvbd_sysfs_addif' and 'xenvbd_sysfs_delif functions' too.

So, this patch transfer code based on above reasons.
Thereby, code will be clear.

Satoshi UCHIDA

Attachment: relocate_VBD_SHOW.patch
Description: Binary data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.