From: Joel Becker Date: Tue, 28 Feb 2006 00:53:05 +0000 (-0800) Subject: ocfs2: Set .owner on masklog sysfs attributes. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93cc9ac4555a9b95c78b2f5dfe536fe8196002a7;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ocfs2: Set .owner on masklog sysfs attributes. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- 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, \