Rename RWF_WRITE_LIFE_NOT_SET to RWH_WRITE_LIFE_NOT_SET following Linux 5.5.

Linux 5.5 renames RWF_WRITE_LIFE_NOT_SET to RWH_WRITE_LIFE_NOT_SET,
with the old name kept as an alias.  This patch makes the
corresponding change in glibc.

Tested for x86_64.
This commit is contained in:
Joseph Myers 2020-02-12 13:37:16 +00:00
parent 08aea89ef6
commit 6cf6a91d05

View File

@ -290,7 +290,8 @@ struct f_owner_ex
#ifdef __USE_GNU
/* Hint values for F_{GET,SET}_RW_HINT. */
# define RWF_WRITE_LIFE_NOT_SET 0
# define RWH_WRITE_LIFE_NOT_SET 0
# define RWF_WRITE_LIFE_NOT_SET RWH_WRITE_LIFE_NOT_SET
# define RWH_WRITE_LIFE_NONE 1
# define RWH_WRITE_LIFE_SHORT 2
# define RWH_WRITE_LIFE_MEDIUM 3