Define MAX_HANDLE_SZ

Submitted by Khem Raj on Sept. 13, 2018, 2 p.m.

Details

Message ID 20180913140005.12849-1-raj.khem@gmail.com
State New
Series "Define MAX_HANDLE_SZ"
Headers show

Commit Message

Khem Raj Sept. 13, 2018, 2 p.m.
MAX_HANDLE_SZ is described in name_to_handle_at() to contain maximum
expected size for a file handle

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 include/fcntl.h | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/include/fcntl.h b/include/fcntl.h
index 5c3defcb..6a8b6d49 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -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