locks: share more common lease code
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 31 May 2007 21:03:46 +0000 (17:03 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Jul 2007 23:09:27 +0000 (19:09 -0400)
commit6d5e8b05caf074ae5676ad9aaf92e381226a14a7
tree6837ed4232f3eefccf054e6ae94dab70938c8e4f
parente32b8ee27b486f682a6d13533cfe6549c8abcdef
locks: share more common lease code

Share more code between setlease (used by nfsd) and fcntl.

Also some minor cleanup.

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Acked-by: Christoph Hellwig <hch@infradead.org>
fs/locks.c