+#define UN_WANT 0x01
+#define UN_LOCKED 0x02
+#define UN_ULOCK 0x04 /* Upper node is locked */
+#define UN_KLOCK 0x08 /* Keep upper node locked on vput */
+
+#define LOCKUVP(un) \
+ (((un)->un_flags & UN_ULOCK) ? \
+ (0) : \
+ (((un)->un_flags |= UN_ULOCK), VOP_LOCK((un)->un_uppervp)))
+#define UNLOCKUVP(un) \
+ ((un)->un_flags &= ~UN_ULOCK)