leases: split up generic_setlease into lock/unlock cases
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 21 Sep 2011 12:34:32 +0000 (08:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 21 Sep 2011 14:40:54 +0000 (10:40 -0400)
commit8335ebd94b3f5bed7875cc35848bbe46d8381695
tree479659c4285c3dd6cb7a2c3da88c77bb939ac94c
parentc856694e3d46976c76bf5b92091cb1efa211208d
leases: split up generic_setlease into lock/unlock cases

Eventually we should probably do the same thing to the file operations
as well.

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