forked from luck/tmp_suning_uos_patched
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) { \
|
||||
.attr = { \
|
||||
.name = #_name, \
|
||||
.owner = THIS_MODULE, \
|
||||
.mode = S_IRUGO | S_IWUSR, \
|
||||
}, \
|
||||
.mask = ML_##_name, \
|
||||
|
|
Loading…
Reference in New Issue
Block a user