X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Freq-layout.c;h=16a6dce2f2d345a5bf5d2e762719b8ca2d273a59;hb=583fef9966f2e531b1c255cabaf1fbaa323e8e5d;hp=ae2202a6164a40d91dcbdb0eaa4985f1e66f70c8;hpb=8abb5a19e4375f194f3f7d304ad46ec7120e733f;p=fs%2Flustre-release.git diff --git a/lustre/utils/req-layout.c b/lustre/utils/req-layout.c index ae2202a..16a6dce 100644 --- a/lustre/utils/req-layout.c +++ b/lustre/utils/req-layout.c @@ -27,7 +27,7 @@ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2013, Intel Corporation. + * Copyright (c) 2011, 2014, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -44,10 +44,14 @@ #include #include -#include -#include +#include #define __REQ_LAYOUT_USER__ (1) +#define EXPORT_SYMBOL(s) + +#include +#include +#include #define lustre_swab_generic_32s NULL #define lustre_swab_lu_seq_range NULL @@ -133,7 +137,7 @@ void print_layout(const struct req_format *rf) [RCL_SERVER] = "S" }; - printf("L %s (%i/%i)\n", rf->rf_name, + printf("L %s (%zu/%zu)\n", rf->rf_name, rf->rf_fields[RCL_CLIENT].nr, rf->rf_fields[RCL_SERVER].nr); for (j = 0; j < RCL_NR; ++j) {