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