Commit 93cc9ac4 authored by Joel Becker's avatar Joel Becker Committed by Mark Fasheh

ocfs2: Set .owner on masklog sysfs attributes.

Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent b4df6ed8
...@@ -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, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment