Commit 525609ed authored by NeilBrown's avatar NeilBrown Committed by Greg Kroah-Hartman
Browse files

staging: lustre: move RESV_PORT definitions to lnet/lib-lnet.h



These are network related on only used in lnet, so move
to lib-lnet.h

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 17bcf37a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -89,10 +89,6 @@

#define LIBCFS_VERSION "0.7.0"

/* need both kernel and user-land acceptor */
#define LNET_ACCEPTOR_MIN_RESERVED_PORT    512
#define LNET_ACCEPTOR_MAX_RESERVED_PORT    1023

extern struct blocking_notifier_head libcfs_ioctl_list;
static inline int notifier_from_ioctl_errno(int err)
{
+4 −0
Original line number Diff line number Diff line
@@ -68,6 +68,10 @@ extern struct lnet the_lnet; /* THE network */
/** exclusive lock */
#define LNET_LOCK_EX		CFS_PERCPT_LOCK_EX

/* need both kernel and user-land acceptor */
#define LNET_ACCEPTOR_MIN_RESERVED_PORT    512
#define LNET_ACCEPTOR_MAX_RESERVED_PORT    1023

static inline int lnet_is_route_alive(struct lnet_route *route)
{
	/* gateway is down */