[XFS] fix non-smp xfs build
xfs_reserve_blocks() calls xfs_icsb_sync_counters_locked(), which is not defined if !CONFIG_SMP/!HAVE_PERCPU_SB SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:30991a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
committed by
Lachlan McIlroy
parent
18d18208da
commit
7155054c9d
@@ -217,6 +217,7 @@ extern void xfs_icsb_sync_counters_locked(struct xfs_mount *, int);
|
|||||||
#define xfs_icsb_init_counters(mp) (0)
|
#define xfs_icsb_init_counters(mp) (0)
|
||||||
#define xfs_icsb_reinit_counters(mp) do { } while (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(mp, flags) do { } while (0)
|
||||||
|
#define xfs_icsb_sync_counters_locked(mp, flags) do { } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct xfs_ail {
|
typedef struct xfs_ail {
|
||||||
|
Reference in New Issue
Block a user