diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-13 20:01:42 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:46 -0400 |
commit | b2d1d56b1d34bcfb6da77eb74a2fbcdea92514f9 (patch) | |
tree | 01c678f5b0e103d80567273497fd3429ae265dbb /fs/bcachefs/move.h | |
parent | a7ecd30c8300624448c4e66cd7a7e7209b96ea61 (diff) |
bcachefs: Fixes for building in userspace
- Marking a non-static function as inline doesn't actually work and is
now causing problems - drop that
- Introduce BCACHEFS_LOG_PREFIX for when we want to prefix log messages
with bcachefs (filesystem name)
- Userspace doesn't have real percpu variables (maybe we can get this
fixed someday), put an #ifdef around bch2_disk_reservation_add()
fastpath
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move.h')
-rw-r--r-- | fs/bcachefs/move.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/move.h b/fs/bcachefs/move.h index 6250c75618c4..2eb6a15542e0 100644 --- a/fs/bcachefs/move.h +++ b/fs/bcachefs/move.h @@ -50,8 +50,7 @@ int bch2_data_job(struct bch_fs *, struct bch_move_stats *, struct bch_ioctl_data); -inline void bch_move_stats_init(struct bch_move_stats *stats, - char *name); +void bch2_move_stats_init(struct bch_move_stats *stats, char *name); #endif /* _BCACHEFS_MOVE_H */ |