diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-19 10:15:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-19 10:18:56 -0400 |
commit | 62ea232b09a6ed6464ccd23d3b60f5acf284a77b (patch) | |
tree | 836c5603fce33a4d3c7379607ec48017ec37bea4 /libbcachefs/sysfs.h | |
parent | 64ce740ac675de883ed6ce99be134a1096708063 (diff) |
Update bcachefs sources to dbe591cee299 bcachefs: Add missing smp_rmb()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/sysfs.h')
-rw-r--r-- | libbcachefs/sysfs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbcachefs/sysfs.h b/libbcachefs/sysfs.h index 222cd506..303e0433 100644 --- a/libbcachefs/sysfs.h +++ b/libbcachefs/sysfs.h @@ -23,7 +23,7 @@ extern const struct sysfs_ops bch2_fs_opts_dir_sysfs_ops; extern const struct sysfs_ops bch2_fs_time_stats_sysfs_ops; extern const struct sysfs_ops bch2_dev_sysfs_ops; -int bch2_opts_create_sysfs_files(struct kobject *); +int bch2_opts_create_sysfs_files(struct kobject *, unsigned); #else @@ -41,7 +41,8 @@ static const struct sysfs_ops bch2_fs_opts_dir_sysfs_ops; 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; } +static inline int bch2_opts_create_sysfs_files(struct kobject *kobj, unsigned type) +{ return 0; } #endif /* NO_BCACHEFS_SYSFS */ |