WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][BLKBACK] Clean code by VBD_SHOW macro in xenbus.c
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 
inserted
into 'xenvbd_sysfs_addif' and 'xenvbd_sysfs_delif functions' too.

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


Thanks,
Satoshi UCHIDA

Attachment: relocate_VBD_SHOW.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][BLKBACK] Clean code by VBD_SHOW macro in xenbus.c, Satoshi Uchida <=