View | Details | Raw Unified | Return to bug 140453
Collapse All | Expand All

(-)2005-12-16.orig/drivers/xen/blkback/xenbus.c (-2 / +4 lines)
Lines 61-67 void update_blkif_status(blkif_t *blkif) Link Here
61
}
61
}
62
62
63
63
64
static ssize_t show_physical_device(struct device *_dev, char *buf)
64
static ssize_t show_physical_device(struct device *_dev,
65
                                    struct device_attribute *attr, char *buf)
65
{
66
{
66
	struct xenbus_device *dev = to_xenbus_device(_dev);
67
	struct xenbus_device *dev = to_xenbus_device(_dev);
67
	struct backend_info *be = dev->data;
68
	struct backend_info *be = dev->data;
Lines 71-77 DEVICE_ATTR(physical_device, S_IRUSR | S Link Here
71
	    show_physical_device, NULL);
72
	    show_physical_device, NULL);
72
73
73
74
74
static ssize_t show_mode(struct device *_dev, char *buf)
75
static ssize_t show_mode(struct device *_dev,
76
                        struct device_attribute *attr, char *buf)
75
{
77
{
76
	struct xenbus_device *dev = to_xenbus_device(_dev);
78
	struct xenbus_device *dev = to_xenbus_device(_dev);
77
	struct backend_info *be = dev->data;
79
	struct backend_info *be = dev->data;

Return to bug 140453