fix setattr error handling in sysfs, configfs
[safe/jmp/linux-2.6] / fs / dlm / lockspace.c
index 26a8bd4..f994a7d 100644 (file)
@@ -148,7 +148,7 @@ static void lockspace_kobj_release(struct kobject *k)
        kfree(ls);
 }
 
-static struct sysfs_ops dlm_attr_ops = {
+static const struct sysfs_ops dlm_attr_ops = {
        .show  = dlm_attr_show,
        .store = dlm_attr_store,
 };