]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[XFS] fix non-smp xfs build
authorEric Sandeen <sandeen@sandeen.net>
Tue, 29 Apr 2008 02:53:00 +0000 (12:53 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Tue, 29 Apr 2008 05:58:00 +0000 (15:58 +1000)
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>
fs/xfs/xfs_mount.h

index 27b558ee576ffa3b929bcfb14858d53b4d3b94e3..63e0693a358a295e4657eabde52ebc88b8de965e 100644 (file)
@@ -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_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 {