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