summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-09-09 14:37:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-09 14:37:31 +0200
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 02d4b0110..35797c689 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);