extern struct sysfs_ops bch2_fs_time_stats_sysfs_ops;
extern struct sysfs_ops bch2_dev_sysfs_ops;
+int bch2_opts_create_sysfs_files(struct kobject *);
+
#else
static struct attribute *bch2_fs_files[] = {};
static const struct sysfs_ops bch2_fs_time_stats_sysfs_ops;
static const struct sysfs_ops bch2_dev_sysfs_ops;
+static inline int bch2_opts_create_sysfs_files(struct kobject *kobj) { return 0; }
+
#endif /* NO_BCACHEFS_SYSFS */
#endif /* _BCACHEFS_SYSFS_H_ */