Browse Source

add MAX_HANDLE_SZ

Waldemar Brodkorb 3 years ago
parent
commit
6f9e85a621
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/fcntl.h

+ 2 - 0
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);