define MAX_HANDLE_SZ for use with name_to_handle_at
authorKhem Raj <raj.khem@gmail.com>
Thu, 13 Sep 2018 14:00:05 +0000 (07:00 -0700)
committerRich Felker <dalias@aerifal.cx>
Thu, 13 Sep 2018 15:46:46 +0000 (11:46 -0400)
MAX_HANDLE_SZ is described in name_to_handle_at() to contain maximum
expected size for a file handle

include/fcntl.h

index 99b21759889ac7c9a8da34ba50bee4fe7fd9a90b..4d91338b3deba517f7195ecf24f89b57334237c8 100644 (file)
@@ -166,6 +166,7 @@ struct f_owner_ex {
 };
 #define FALLOC_FL_KEEP_SIZE 1
 #define FALLOC_FL_PUNCH_HOLE 2
+#define MAX_HANDLE_SZ 128
 #define SYNC_FILE_RANGE_WAIT_BEFORE 1
 #define SYNC_FILE_RANGE_WRITE 2
 #define SYNC_FILE_RANGE_WAIT_AFTER 4