ocfs2: Set .owner on masklog sysfs attributes.
authorJoel Becker <joel.becker@oracle.com>
Tue, 28 Feb 2006 00:53:05 +0000 (16:53 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 1 Mar 2006 19:43:20 +0000 (11:43 -0800)
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/masklog.c

index fd741cea5705e00d029c06b11ec4e688df1c078a..636593bf4d178e881038d72fa837d679c3090597 100644 (file)
@@ -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,                     \