- &ext2_filesystem, /* ext2 */
- &reiserfs_filesystem, /* reiserfs */
- &of_filesystem, /* HFS/HFS+, ISO9660, UDF, UFS */
- NULL
+ &ext2_filesystem, /* ext2 */
+#ifdef CONFIG_FS_XFS
+ &xfs_filesystem, /* XFS */
+#endif /* CONFIG_FS_XFS */
+#ifdef CONFIG_FS_REISERFS
+ &reiserfs_filesystem, /* reiserfs */
+#endif /* CONFIG_FS_REISERFS */
+ &of_filesystem, /* HFS/HFS+, ISO9660, UDF, UFS */
+ NULL