Satoshi Uchida
2006-Jun-30 05:05 UTC
[Xen-devel] [PATCH][BLKBACK] Clean code by VBD_SHOW macro in xenbus.c
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Maybe Matching Threads
- [PATCH 1/2] xen: Populate xenbus device attributes
- [PATCH 1/2] xen: Populate xenbus device attributes
- [PATCH 1/2] xen: Populate xenbus device attributes
- [PATCH][1/4][IOMGR] I/O request Manager body
- [RFC PATCH] hwrng: sysfs entry rng_seed_kernel, was: "Re: [PATCH v2 1/2] hwrng: fetch randomness only after device init"