diff options
author | James Simmons <jsimmons@infradead.org> | 2017-02-26 19:41:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 09:17:03 +0100 |
commit | 175888102b17ec080636710b2c1388000656e0e7 (patch) | |
tree | 6864c7096e2f8c11941aa21c8233b753b0e6c7d7 /drivers/staging/lustre/include/linux/lnet/types.h | |
parent | staging: lustre: lnet: change lnet_handle_md_t to proper struct (diff) | |
download | linux-dev-175888102b17ec080636710b2c1388000656e0e7.tar.xz linux-dev-175888102b17ec080636710b2c1388000656e0e7.zip |
staging: lustre: lnet: change lnet_handle_me_t to proper struct
Change lnet_handle_me_t from a typedef of another typedef into
a proper stand alone structure.
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <olaf@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/lnet/types.h')
-rw-r--r-- | drivers/staging/lustre/include/linux/lnet/types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/types.h b/drivers/staging/lustre/include/linux/lnet/types.h index 8dcf3f9e1d6d..513ad6f5f288 100644 --- a/drivers/staging/lustre/include/linux/lnet/types.h +++ b/drivers/staging/lustre/include/linux/lnet/types.h @@ -284,8 +284,6 @@ typedef struct { __u64 cookie; } lnet_handle_any_t; -typedef lnet_handle_any_t lnet_handle_me_t; - #define LNET_WIRE_HANDLE_COOKIE_NONE (-1) /** @@ -360,6 +358,10 @@ static inline int LNetMDHandleIsInvalid(struct lnet_handle_md h) return (LNET_WIRE_HANDLE_COOKIE_NONE == h.cookie); } +struct lnet_handle_me { + u64 cookie; +}; + /** * Global process ID. */ |