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 99b2175..4d91338 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