fix non-smp xfs build
PATCH 1/1 fix non-smp xfs build
xfs_reserve_blocks() calls xfs_icsb_sync_counters_locked(), which is not defined if !CONFIG_SMP/!HAVE_PERCPU_SB
Signed-off-by Eric Sandeen <[email protected]>
---
fs/xfs/xfs_mount.h +1 -0
@@ -217,6 +217,7 @@ extern void xfs_icsb_sync_counters_locke#define xfs_icsb_init_counters (mp) (0)#define xfs_icsb_reinit_counters (mp) do { } while (0)#define xfs_icsb_sync_counters (mp, flags) do { } while (0) +#define xfs_icsb_sync_counters_locked (mp, flags) do { } while (0)#endif typedef struct xfs_ail {
Quoted 2 lines · Eric Sandeen
xfs_reserve_blocks()callsxfs_icsb_sync_counters_locked(), which is not defined if !CONFIG_SMP/!HAVE_PERCPU_SB
Looks good. Thanks for fixing this up!