Whamcloud - gitweb
LU-6349 ptlrpc: remove LUSTRE_MSG_MAGIC_V1 support 07/14007/2
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 7 Mar 2015 12:01:16 +0000 (05:01 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 28 Apr 2015 05:19:09 +0000 (05:19 +0000)
commit8f1c8dbe2389e1ef1e1d3387e343fb9a1bb84198
treeb2572505e1791fd6d7f7ec8c5a406dd842531e86
parentf4b93dff9a8f4a59976ea864c4e3c2c42faa5770
LU-6349 ptlrpc: remove LUSTRE_MSG_MAGIC_V1 support

Remove the remains of LUSTRE_MSG_MAGIC_V1 support from ptlrpc.
It has not been supported since 1.8 and is not functional since 2.0.

In lustre_msg_check_version(), return an error for unsupported RPC
versions so that the server will reject such RPCs early.  Otherwise
the server only prints an error message and continue on.

Fix up whitespace and code style in lustre_msg_*() accessor functions.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I001def16e242d6ab64122912ac69fb0a072c312f
Reviewed-on: http://review.whamcloud.com/14007
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_net.h
lustre/ldlm/ldlm_lib.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c