7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * This file and its contents are supplied under the terms of the
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * Common Development and Distribution License ("CDDL"), version 1.0.
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * You may only use this file in accordance with the terms of version
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * 1.0 of the CDDL.
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * A full copy of the text of the CDDL should have accompanied this
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * source. A copy of the CDDL is also available via the Internet at
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek * Copyright 2015 Joyent, Inc.
7a5aac98bc37534537d4896efd4efd30627d221eJerry Jelinek l.l_type = ((operation & ~LOCK_NB) == LOCK_EX) ?