xfs
[Top] [All Lists]

[PATCH] fix non-smp xfs build

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] fix non-smp xfs build
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 22 Apr 2008 22:52:49 -0500
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
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@xxxxxxxxxxx>
---

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 {



<Prev in Thread] Current Thread [Next in Thread>