* [PATCH] fix non-smp xfs build
@ 2008-04-23 3:52 Eric Sandeen
2008-04-24 19:55 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2008-04-23 3:52 UTC (permalink / raw)
To: xfs-oss
xfs_reserve_blocks() calls xfs_icsb_sync_counters_locked(),
which is not defined if !CONFIG_SMP/!HAVE_PERCPU_SB
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
---
Index: linux-2.6-xfs/fs/xfs/xfs_mount.h
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/xfs_mount.h
+++ linux-2.6-xfs/fs/xfs/xfs_mount.h
@@ -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 {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-24 19:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 3:52 [PATCH] fix non-smp xfs build Eric Sandeen
2008-04-24 19:55 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox