Signed-off-by: Benjamin Wang <wachao@vmware.com>
File lock interface was more verbose than it needed to be while simultaneously making it difficult to support systems (e.g., Windows) that only permit locked writes on a single fd holding the lock.