From 6f9e85a6219ba4516261159a25c1d42eacb66662 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 9 Sep 2020 14:37:31 +0200 Subject: add MAX_HANDLE_SZ --- include/fcntl.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3