From 7083e4fbca33b15d7e1c97b9d3ebcf0bc8ae64e7 Mon Sep 17 00:00:00 2001 From: pschwan Date: Tue, 27 May 2003 00:45:35 +0000 Subject: [PATCH] - remove some comments from makefiles - fix small unused 'rc' bug in target_handle_connect --- lnet/Makefile.am | 1 - lustre/ldlm/ldlm_lib.c | 2 +- lustre/portals/Makefile.am | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lnet/Makefile.am b/lnet/Makefile.am index 9c84d8e..26293f2 100644 --- a/lnet/Makefile.am +++ b/lnet/Makefile.am @@ -3,7 +3,6 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -#EXTRA_DIST = Rules.linux archdep.m4 MCP EXTRA_DIST = Rules.linux archdep.m4 DIST_SUBDIRS = libcfs portals knals unals utils tests doc router if LIBLUSTRE diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 8b5acc6..a80f855 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -661,7 +661,7 @@ int target_handle_connect(struct ptlrpc_request *req, svc_handler_t handler) tmp = lustre_msg_buf(req->rq_reqmsg, 2, sizeof conn); if (tmp == NULL) - GOTO(out, -EPROTO); + GOTO(out, rc = -EPROTO); memcpy(&conn, tmp, sizeof conn); diff --git a/lustre/portals/Makefile.am b/lustre/portals/Makefile.am index 9c84d8e..26293f2 100644 --- a/lustre/portals/Makefile.am +++ b/lustre/portals/Makefile.am @@ -3,7 +3,6 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -#EXTRA_DIST = Rules.linux archdep.m4 MCP EXTRA_DIST = Rules.linux archdep.m4 DIST_SUBDIRS = libcfs portals knals unals utils tests doc router if LIBLUSTRE -- 1.8.3.1