|
@@ -63,7 +63,7 @@ static const struct super_operations xfs_super_operations;
|
|
|
static kmem_zone_t *xfs_ioend_zone;
|
|
|
mempool_t *xfs_ioend_pool;
|
|
|
|
|
|
-struct kset *xfs_kset; /* top-level xfs sysfs dir */
|
|
|
+static struct kset *xfs_kset; /* top-level xfs sysfs dir */
|
|
|
#ifdef DEBUG
|
|
|
static struct xfs_kobj xfs_dbg_kobj; /* global debug sysfs attrs */
|
|
|
#endif
|
|
@@ -1411,6 +1411,7 @@ xfs_fs_fill_super(
|
|
|
atomic_set(&mp->m_active_trans, 0);
|
|
|
INIT_DELAYED_WORK(&mp->m_reclaim_work, xfs_reclaim_worker);
|
|
|
INIT_DELAYED_WORK(&mp->m_eofblocks_work, xfs_eofblocks_worker);
|
|
|
+ mp->m_kobj.kobject.kset = xfs_kset;
|
|
|
|
|
|
mp->m_super = sb;
|
|
|
sb->s_fs_info = mp;
|