xattr-util: check if fd has O_PATH and do not try setxattr() twice
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Feb 2023 22:34:13 +0000 (07:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Feb 2023 22:34:49 +0000 (07:34 +0900)
commit5f904eb7511d036ce73d02c07561c62fcf122e15
tree5cb453e01fe4bc949baa183f8bc24f40221a4b62
parentea61e2e9bd435eba9faf114757a531b375869830
xattr-util: check if fd has O_PATH and do not try setxattr() twice

Follow-up for a4d2461c46f40c9ae5002a2aea35b35ccb60ef9c.
src/basic/xattr-util.c