commit | 3df057ac9afe83c4af84016df3baf3a0eb1d3d33 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Wed Nov 03 16:49:44 2010 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Nov 10 14:31:23 2010 -0500 |
tree | ae1d30a596abef618d2913cbead649253fa7acfc | |
parent | 21b75b019983dfa5c2dda588f4b60b4ca69844a4 [diff] |
locks: fix leak on merging leases We must also free the passed-in lease in the case it wasn't used because an existing lease was upgrade/downgraded or already existed. Note the nfsd caller doesn't care because it's fl_change callback returns an error in those cases. Signed-off-by: J. Bruce Fields <bfields@redhat.com>