locks: minor lease cleanup
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 27 Jul 2011 00:10:51 +0000 (20:10 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Aug 2011 17:25:33 +0000 (13:25 -0400)
commitab83fa4b49a54e6199b076b7d8c1808144e80f0d
tree3c2d3a7449ac4ff78f8bbe310dcb637c68a4a071
parentaadab6c6f4da38d639394de740602f146c88da0c
locks: minor lease cleanup

Use a helper function, to simplify upcoming changes.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/locks.c