summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/fstrans.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/sys/fstrans.h b/sys/sys/fstrans.h
index 82fe61d1f40..a8dab5d5489 100644
--- a/sys/sys/fstrans.h
+++ b/sys/sys/fstrans.h
@@ -1,4 +1,4 @@
-/* $NetBSD: fstrans.h,v 1.9 2008/04/28 20:24:10 martin Exp $ */
+/* $NetBSD: fstrans.h,v 1.10 2008/11/07 00:15:42 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -57,10 +57,7 @@ enum fstrans_state {
};
void fstrans_init(void);
-#define fstrans_start(mp, t) \
-do { \
- _fstrans_start((mp), (t), 1); \
-} while (/* CONSTCOND */ 0)
+#define fstrans_start(mp, t) _fstrans_start((mp), (t), 1)
#define fstrans_start_nowait(mp, t) _fstrans_start((mp), (t), 0)
int _fstrans_start(struct mount *, enum fstrans_lock_type, int);
void fstrans_done(struct mount *);