src/multi_open_unlink: Stop using attr_set
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Wed, 9 Dec 2020 05:08:16 +0000 (13:08 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 20 Dec 2020 16:18:42 +0000 (00:18 +0800)
commit90d76997831ed7cd7b86028b8ee60aa3135347db
tree7cad10fb5db9edecd2162a7b4eee4e2acf52ede8
parent72dc169b442eefea2668e02277621a2cc9db9474
src/multi_open_unlink: Stop using attr_set

Avoid the following warning by replacing deprecated
attr_set with setxattr:
---------------------------------------------------
warning: 'attr_set' is deprecated: Use setxattr or lsetxattr instead [-Wdeprecated-declarations]
---------------------------------------------------

Also remove unneeded flags, <attr/attributes.h> and $(LIBATTR).

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/Makefile
src/multi_open_unlink.c