On Wed, Oct 27, 2010 at 10:55:39AM -0400, J. Bruce Fields wrote: > Hm, two problems: > - We introduce the possibility of fcntl(fd, F_SETLEASE, F_UNLCK) > failing with ENOMEM.
splitt ->setlease into ->add_least and ->delete_lease. No need to pass in a structure for the later. No need to return one either.