Skip to content
Snippets Groups Projects
Commit 93cc9ac4 authored by Joel Becker's avatar Joel Becker Committed by Mark Fasheh
Browse files

ocfs2: Set .owner on masklog sysfs attributes.

parent b4df6ed8
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,7 @@ struct mlog_attribute { ...@@ -74,6 +74,7 @@ struct mlog_attribute {
#define define_mask(_name) { \ #define define_mask(_name) { \
.attr = { \ .attr = { \
.name = #_name, \ .name = #_name, \
.owner = THIS_MODULE, \
.mode = S_IRUGO | S_IWUSR, \ .mode = S_IRUGO | S_IWUSR, \
}, \ }, \
.mask = ML_##_name, \ .mask = ML_##_name, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment