diff options
author | J. Bruce Fields <bfields@redhat.com> | 2010-11-03 16:49:44 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-11-10 14:31:23 -0500 |
commit | 3df057ac9afe83c4af84016df3baf3a0eb1d3d33 (patch) | |
tree | ae1d30a596abef618d2913cbead649253fa7acfc /fs/minix | |
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>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions