1 .TH llapi_rmfid 3 "2014 Oct 13" "Lustre User API"
3 llapi_rmfid \- Remove files by their FIDs in Lustre.
6 .B #include <lustre/lustreapi.h>
8 .BI "int llapi_rmfid(const char *" path ", struct fid_array *" fa ");
17 Lustre files by FIDs stored in
19 All file's hardlinks are subject to removal. This functionality is available
20 only for root or regular users on filesystems mounted with
22 mount option to delete files that they own and are in a directory in which
23 they have write permission.
28 return 0 on success or a negative errno value on failure. Result for each file
29 is stored in the corresponding
30 .I fa->fa_fid[N].f_ver
39 file is open and can't be removed
42 The file cannot be open by user or CAP_DAC_READ_SEARCH is not granted.
48 Not enough memory to process the request