summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfsm_subs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient/nfsm_subs.h')
-rw-r--r--sys/nfsclient/nfsm_subs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/nfsclient/nfsm_subs.h b/sys/nfsclient/nfsm_subs.h
index f626dd4..ee9d215 100644
--- a/sys/nfsclient/nfsm_subs.h
+++ b/sys/nfsclient/nfsm_subs.h
@@ -147,6 +147,17 @@ do { \
} \
} while (0)
+#define nfsm_request_mnt(n, t, p, c) \
+do { \
+ error = nfs4_request_mnt((n), mreq, (t), (p), (c), &mrep, &md, &dpos); \
+ if (error != 0) { \
+ if (error & NFSERR_RETERR) \
+ error &= ~NFSERR_RETERR; \
+ else \
+ goto nfsmout; \
+ } \
+} while (0)
+
/* *********************************** */
/* Reply interpretation phase macros */
OpenPOWER on IntegriCloud