X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdecho%2Fecho_internal.h;h=8c72c40ebb767d47c004d028113fec62b8c41d27;hb=3ddcf5b4a13851805f15b39aa1e95aee9b291132;hp=fdaa43c402de550ae7ea82e1a610e3b05dc2fdb8;hpb=1b2547843817b4b7adbeb87ea9b070d9cac35c90;p=fs%2Flustre-release.git diff --git a/lustre/obdecho/echo_internal.h b/lustre/obdecho/echo_internal.h index fdaa43c..8c72c40 100644 --- a/lustre/obdecho/echo_internal.h +++ b/lustre/obdecho/echo_internal.h @@ -24,7 +24,7 @@ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2012, Whamcloud, Inc. + * Copyright (c) 2012, 2014 Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -43,18 +43,10 @@ /* block size to use for data verification */ #define OBD_ECHO_BLOCK_SIZE (4<<10) -#ifdef __KERNEL__ -# ifdef HAVE_SERVER_SUPPORT +#ifdef HAVE_SERVER_SUPPORT extern struct obd_ops echo_obd_ops; int echo_persistent_pages_init(void); void echo_persistent_pages_fini(void); -# endif -#else /* ! __KERNEL__ */ -/* Kludge here, define some functions and macros needed by liblustre -jay */ - -#define READ 0 -#define WRITE 1 - -#endif /* ifdef __KERNEL__ */ +#endif /* HAVE_SERVER_SUPPORT */ #endif