mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] Define MAX_HANDLE_SZ
@ 2018-09-13 14:00 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2018-09-13 14:00 UTC (permalink / raw)
  To: musl; +Cc: Khem Raj

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(+)

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
-- 
2.19.0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-13 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-13 14:00 [PATCH] Define MAX_HANDLE_SZ Khem Raj

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).