1 .TH llapi_layout_file_comp_del 3 "2015 Nov 4" "Lustre User API"
3 llapi_layout_file_comp_del \- delete the specified layout component
7 .B #include <lustre/lustreapi.h>
9 .BI "int llapi_layout_file_comp_del(const char *" path ",
10 .BI " uint32_t "id ", uint32_t "flags );
14 Deletes the layout component(s) specified by
18 from an existing file. The
20 must be a real unique component ID, when
30 Instantiated components in the layout.
32 .BR LCME_FL_NEG|LCME_FL_INIT:
33 Uninstantiated components in the layout.
35 Returns 0 on success, or -1 if an error occurred (in which case, errno is
40 An invalid argument was specified.
44 doesn't exist or the specified component isn't found in file.
46 .BR llapi_layout_alloc (3),
47 .BR llapi_layout_file_open (3),
48 .BR llapi_layout_get_by_path (3),
49 .BR llapi_layout_file_comp_add (3),
50 .BR llapi_layout_comp_id_get (3),
51 .BR llapi_layout_comp_use_id (3),