summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2006-02-27 16:53:05 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2006-03-01 11:43:20 -0800
commit93cc9ac4555a9b95c78b2f5dfe536fe8196002a7 (patch)
tree98777dd8c52bfe5c88a12a3f20f0470e2eeb7de7
parentb4df6ed8db0c387d38292e31f00adc4cd297ed5a (diff)
downloadlinux-93cc9ac4555a9b95c78b2f5dfe536fe8196002a7.tar.bz2
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>
-rw-r--r--fs/ocfs2/cluster/masklog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/masklog.c b/fs/ocfs2/cluster/masklog.c
index fd741cea5705..636593bf4d17 100644
--- a/fs/ocfs2/cluster/masklog.c
+++ b/fs/ocfs2/cluster/masklog.c
@@ -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, \