X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdoc%2Fllapi_file_get_stripe.3;h=d3232fbb41f345e9c5353605567da676a3acf94b;hb=7e9d38ea8187f47b47f0e230a3ad31dee2834849;hp=bfc9dc63b56ceb3d4670f343e4917b5fb1833c63;hpb=0a859380c36ac24871f221b35042f76c56b04438;p=fs%2Flustre-release.git diff --git a/lustre/doc/llapi_file_get_stripe.3 b/lustre/doc/llapi_file_get_stripe.3 index bfc9dc6..d3232fb 100644 --- a/lustre/doc/llapi_file_get_stripe.3 +++ b/lustre/doc/llapi_file_get_stripe.3 @@ -1,4 +1,4 @@ -.TH llapi_file_get_stripe 3 "2009 Jul 22" Lustre liblustreapi +.TH lustreapi 3 "2009 Jul 22" The Lustre user application interface library .SH NAME llapi_file_get_stripe \- get striping information for a file or a directory on a Lustre filesystem .SH SYNOPSIS @@ -6,10 +6,7 @@ llapi_file_get_stripe \- get striping information for a file or a directory on a .B #include .B #include .B #include -.B #include -.B #include -.B #include -.B #include +.B #include .sp .BI "int llapi_file_get_stripe(const char *"path ", void *"lum ); .sp @@ -43,7 +40,7 @@ struct lov_user_md_v3 { __u32 lmm_stripe_size; __u16 lmm_stripe_count; __u16 lmm_stripe_offset; - char lmm_pool_name[LOV_MAXPOOLNAME]; + char lmm_pool_name[LOV_MAXPOOLNAME + 1]; struct lov_user_ost_data_v1 lmm_objects[0]; } __attribute__((packed)); .fi @@ -140,12 +137,7 @@ is not properly mapped. .SH "EXAMPLE" .nf #include -#include -#include -#include -#include -#include -#include +#include static inline int maxint(int a, int b) { @@ -201,4 +193,4 @@ cleanup: .fi .SH "SEE ALSO" .BR lustre (7), -.BR liblustreapi (7) +.BR lustreapi (7)