aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/cluster/sys.c2
-rw-r--r--fs/ocfs2/stackglue.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/ocfs2/cluster/sys.c b/fs/ocfs2/cluster/sys.c
index a4b07730b2e1..b7f57271d49c 100644
--- a/fs/ocfs2/cluster/sys.c
+++ b/fs/ocfs2/cluster/sys.c
@@ -41,7 +41,7 @@ static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr,
41 return snprintf(buf, PAGE_SIZE, "%u\n", O2NM_API_VERSION); 41 return snprintf(buf, PAGE_SIZE, "%u\n", O2NM_API_VERSION);
42} 42}
43static struct kobj_attribute attr_version = 43static struct kobj_attribute attr_version =
44 __ATTR(interface_revision, S_IFREG | S_IRUGO, version_show, NULL); 44 __ATTR(interface_revision, S_IRUGO, version_show, NULL);
45 45
46static struct attribute *o2cb_attrs[] = { 46static struct attribute *o2cb_attrs[] = {
47 &attr_version.attr, 47 &attr_version.attr,
diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c
index 1324e6600e57..25e9f7b5bad3 100644
--- a/fs/ocfs2/stackglue.c
+++ b/fs/ocfs2/stackglue.c
@@ -494,7 +494,7 @@ static ssize_t ocfs2_max_locking_protocol_show(struct kobject *kobj,
494} 494}
495 495
496static struct kobj_attribute ocfs2_attr_max_locking_protocol = 496static struct kobj_attribute ocfs2_attr_max_locking_protocol =
497 __ATTR(max_locking_protocol, S_IFREG | S_IRUGO, 497 __ATTR(max_locking_protocol, S_IRUGO,
498 ocfs2_max_locking_protocol_show, NULL); 498 ocfs2_max_locking_protocol_show, NULL);
499 499
500static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj, 500static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj,
@@ -526,7 +526,7 @@ static ssize_t ocfs2_loaded_cluster_plugins_show(struct kobject *kobj,
526} 526}
527 527
528static struct kobj_attribute ocfs2_attr_loaded_cluster_plugins = 528static struct kobj_attribute ocfs2_attr_loaded_cluster_plugins =
529 __ATTR(loaded_cluster_plugins, S_IFREG | S_IRUGO, 529 __ATTR(loaded_cluster_plugins, S_IRUGO,
530 ocfs2_loaded_cluster_plugins_show, NULL); 530 ocfs2_loaded_cluster_plugins_show, NULL);
531 531
532static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj, 532static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj,
@@ -548,7 +548,7 @@ static ssize_t ocfs2_active_cluster_plugin_show(struct kobject *kobj,
548} 548}
549 549
550static struct kobj_attribute ocfs2_attr_active_cluster_plugin = 550static struct kobj_attribute ocfs2_attr_active_cluster_plugin =
551 __ATTR(active_cluster_plugin, S_IFREG | S_IRUGO, 551 __ATTR(active_cluster_plugin, S_IRUGO,
552 ocfs2_active_cluster_plugin_show, NULL); 552 ocfs2_active_cluster_plugin_show, NULL);
553 553
554static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj, 554static ssize_t ocfs2_cluster_stack_show(struct kobject *kobj,
@@ -597,7 +597,7 @@ static ssize_t ocfs2_cluster_stack_store(struct kobject *kobj,
597 597
598 598
599static struct kobj_attribute ocfs2_attr_cluster_stack = 599static struct kobj_attribute ocfs2_attr_cluster_stack =
600 __ATTR(cluster_stack, S_IFREG | S_IRUGO | S_IWUSR, 600 __ATTR(cluster_stack, S_IRUGO | S_IWUSR,
601 ocfs2_cluster_stack_show, 601 ocfs2_cluster_stack_show,
602 ocfs2_cluster_stack_store); 602 ocfs2_cluster_stack_store);
603 603