+#if CONFIG_NFS4
+/* separate v4 variant for loading attrs that only runs when NFSv4 is set */
+#define __nfsm_chain_loadattr_v4(E, NMC, VERS, X, VATTR) \
+ do { \
+ (E) = nfs4_parsefattr((NMC), NULL, (VATTR), NULL, NULL, NULL); \
+ } while (0)
+#else
+#define __nfsm_chain_loadattr_v4(E, NMC, VERS, X, VATTR) \
+ do { \
+ break; \
+ } while (0)
+#endif
+