|
@@ -232,8 +232,6 @@ static ssize_t stable_pages_required_show(struct device *dev,
|
|
bdi_cap_stable_pages_required(bdi) ? 1 : 0);
|
|
bdi_cap_stable_pages_required(bdi) ? 1 : 0);
|
|
}
|
|
}
|
|
|
|
|
|
-#define __ATTR_RW(attr) __ATTR(attr, 0644, attr##_show, attr##_store)
|
|
|
|
-
|
|
|
|
static struct device_attribute bdi_dev_attrs[] = {
|
|
static struct device_attribute bdi_dev_attrs[] = {
|
|
__ATTR_RW(read_ahead_kb),
|
|
__ATTR_RW(read_ahead_kb),
|
|
__ATTR_RW(min_ratio),
|
|
__ATTR_RW(min_ratio),
|