locks: clean up lease_alloc()
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 1 Mar 2007 19:34:35 +0000 (14:34 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Jul 2007 23:09:27 +0000 (19:09 -0400)
commite32b8ee27b486f682a6d13533cfe6549c8abcdef
tree2313014defb0f65b2922df766311e41a5e0dbb98
parentd2ab0b0c4c2570921a9ec1eff1e3a5143e05b231
locks: clean up lease_alloc()

Return the newly allocated structure as the return value instead of
using a struct ** parameter.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/locks.c