浏览代码

add MAX_HANDLE_SZ

Waldemar Brodkorb 5 年之前
父节点
当前提交
6f9e85a621
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);