a2cf7d
commit 6cf6a91d05d626698f158078961b3bffcb39ff8c
a2cf7d
Author: Joseph Myers <joseph@codesourcery.com>
a2cf7d
Date:   Wed Feb 12 13:37:16 2020 +0000
a2cf7d
a2cf7d
    Rename RWF_WRITE_LIFE_NOT_SET to RWH_WRITE_LIFE_NOT_SET following Linux 5.5.
a2cf7d
    
a2cf7d
    Linux 5.5 renames RWF_WRITE_LIFE_NOT_SET to RWH_WRITE_LIFE_NOT_SET,
a2cf7d
    with the old name kept as an alias.  This patch makes the
a2cf7d
    corresponding change in glibc.
a2cf7d
    
a2cf7d
    Tested for x86_64.
a2cf7d
a2cf7d
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
a2cf7d
index 07a889d683..b06488a847 100644
a2cf7d
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
a2cf7d
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
a2cf7d
@@ -290,7 +290,8 @@ struct f_owner_ex
a2cf7d
 
a2cf7d
 #ifdef __USE_GNU
a2cf7d
 /* Hint values for F_{GET,SET}_RW_HINT.  */
a2cf7d
-# define RWF_WRITE_LIFE_NOT_SET	0
a2cf7d
+# define RWH_WRITE_LIFE_NOT_SET	0
a2cf7d
+# define RWF_WRITE_LIFE_NOT_SET	RWH_WRITE_LIFE_NOT_SET
a2cf7d
 # define RWH_WRITE_LIFE_NONE	1
a2cf7d
 # define RWH_WRITE_LIFE_SHORT	2
a2cf7d
 # define RWH_WRITE_LIFE_MEDIUM	3