summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/masklog.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2006-02-28 01:53:05 +0100
committerMark Fasheh <mark.fasheh@oracle.com>2006-03-01 20:43:20 +0100
commit93cc9ac4555a9b95c78b2f5dfe536fe8196002a7 (patch)
tree98777dd8c52bfe5c88a12a3f20f0470e2eeb7de7 /fs/ocfs2/cluster/masklog.c
parent[PATCH] ocfs2: fix orphan recovery deadlock (diff)
downloadlinux-93cc9ac4555a9b95c78b2f5dfe536fe8196002a7.tar.xz
linux-93cc9ac4555a9b95c78b2f5dfe536fe8196002a7.zip
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>
Diffstat (limited to 'fs/ocfs2/cluster/masklog.c')
-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, \