With the dlmglue transition over, we can finally remove some of the no longer used portions of lock.[ch]. Signed-off-by: Mark Fasheh <mfasheh@versity.com>