diff options
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index fbf0384a466f..d36bdbc9eeb2 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -61,8 +61,6 @@ static DEFINE_MUTEX(xfs_uuid_table_mutex); | |||
61 | static int xfs_uuid_table_size; | 61 | static int xfs_uuid_table_size; |
62 | static uuid_t *xfs_uuid_table; | 62 | static uuid_t *xfs_uuid_table; |
63 | 63 | ||
64 | extern struct kset *xfs_kset; | ||
65 | |||
66 | /* | 64 | /* |
67 | * See if the UUID is unique among mounted XFS filesystems. | 65 | * See if the UUID is unique among mounted XFS filesystems. |
68 | * Mount fails if UUID is nil or a FS with the same UUID is already mounted. | 66 | * Mount fails if UUID is nil or a FS with the same UUID is already mounted. |
@@ -729,7 +727,6 @@ xfs_mountfs( | |||
729 | 727 | ||
730 | xfs_set_maxicount(mp); | 728 | xfs_set_maxicount(mp); |
731 | 729 | ||
732 | mp->m_kobj.kobject.kset = xfs_kset; | ||
733 | error = xfs_sysfs_init(&mp->m_kobj, &xfs_mp_ktype, NULL, mp->m_fsname); | 730 | error = xfs_sysfs_init(&mp->m_kobj, &xfs_mp_ktype, NULL, mp->m_fsname); |
734 | if (error) | 731 | if (error) |
735 | goto out; | 732 | goto out; |