Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13903 utils: have liblustreapi support Linux client
[fs/lustre-release.git]
/
lustre
/
utils
/
liblustreapi_util.c
diff --git
a/lustre/utils/liblustreapi_util.c
b/lustre/utils/liblustreapi_util.c
index
60ded02
..
ad69d93
100644
(file)
--- a/
lustre/utils/liblustreapi_util.c
+++ b/
lustre/utils/liblustreapi_util.c
@@
-315,6
+315,7
@@
retry_open:
int llapi_direntry_remove(char *dname)
{
+#ifdef HAVE_IOC_REMOVE_ENTRY
char *dirpath = NULL;
char *namepath = NULL;
char *dir;
@@
-349,6
+350,9
@@
out:
if (fd != -1)
close(fd);
return rc;
+#else
+ return -ENOTSUP;
+#endif
}
int llapi_unlink_foreign(char *name)