projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git]
/
fs
/
ocfs2
/
cluster
/
masklog.c
diff --git
a/fs/ocfs2/cluster/masklog.c
b/fs/ocfs2/cluster/masklog.c
index b39da877b12fce3f893243bb0001053499f68cb0..3bb928a2bf7dc16aecb6ee478374bd2aac0a5f99 100644
(file)
--- a/
fs/ocfs2/cluster/masklog.c
+++ b/
fs/ocfs2/cluster/masklog.c
@@
-136,7
+136,7
@@
static ssize_t mlog_store(struct kobject *obj, struct attribute *attr,
return mlog_mask_store(mlog_attr->mask, buf, count);
}
-static struct sysfs_ops mlog_attr_ops = {
+static
const
struct sysfs_ops mlog_attr_ops = {
.show = mlog_show,
.store = mlog_store,
};