ocfs2: Set .owner on masklog sysfs attributes.
Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
parent
b4df6ed8db
commit
93cc9ac455
@ -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, \
|
||||||
|
Loading…
Reference in New Issue
Block a user