summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-09-09 12:37:31 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-09 12:37:31 (GMT)
commit6f9e85a6219ba4516261159a25c1d42eacb66662 (patch)
treeeb5a73f5da743bcc8d0bce8372becaad3f78ab03
parent4deace34cfcc5476b71a9cdc05828f5a48d1cd74 (diff)
add MAX_HANDLE_SZ
-rw-r--r--include/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 02d4b01..35797c6 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -288,6 +288,8 @@ struct file_handle {
unsigned char f_handle[];
};
+#define MAX_HANDLE_SZ 128
+
int name_to_handle_at(int dirfd, const char *pathname,
struct file_handle *handle, int *mount_id, int flags);
int open_by_handle_at(int mount_fd, struct file_handle *handle, int flags);