]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: use sock.h in only acceptor.c
authorJames Simmons <jsimmons@infradead.org>
Mon, 22 Feb 2016 22:29:22 +0000 (17:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Feb 2016 02:05:49 +0000 (18:05 -0800)
commit83c991b29b43b3b5883ede3c6646d1f56be67994
treea261c933e82e93b700b912c294a8dc7cd3d9cf32
parent0cf56a1a9926b5e78c6dce246960fda625df744c
staging: lustre: use sock.h in only acceptor.c

On some platforms having sock.h in lib-types.h would collide with
other included header files being used in the LNet layer. Looking
at what was needed from sock.h only acceptor.c is dependent on it.
To avoid these issues we just use sock.h only in acceptor.c.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6763
Reviewed-on: http://review.whamcloud.com/15386
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-types.h
drivers/staging/lustre/lnet/lnet/acceptor.c