Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cdd30fa1 authored by Jeff Layton's avatar Jeff Layton Committed by J. Bruce Fields
Browse files

lockd: release reference to nsm_handle in nlm_host_rebooted



nsm_reboot_lookup takes a reference to the nsm_handle that it returns,
but nlm_host_rebooted never releases that reference.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent aa696a6f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -479,8 +479,8 @@ again: mutex_lock(&nlm_host_mutex);
			}
			}
		}
		}
	}
	}

	mutex_unlock(&nlm_host_mutex);
	mutex_unlock(&nlm_host_mutex);
	nsm_release(nsm);
}
}


/*
/*