locks: move lease-specific code out of locks_delete_lock
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 27 Jul 2012 20:18:00 +0000 (16:18 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 27 Jul 2012 20:18:00 +0000 (16:18 -0400)
commit96d6d59ceaeaacba4088862f3c57fcd011f52832
treefee86db726235ee3aeb0efdc7ae790f299d6de9d
parent3b6e2723f32de42028617f2c99b244ccd72cd959
locks: move lease-specific code out of locks_delete_lock

No point putting something only used by one caller into common code.

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