8274562: (fs) UserDefinedFileAttributeView doesn't correctly determine if supported when using OverlayFS
Reviewed-by: alanb
This commit is contained in:
parent
c05dc268ac
commit
3d7671b65e
@ -317,7 +317,7 @@ Java_sun_nio_fs_UnixNativeDispatcher_init(JNIEnv* env, jclass this)
|
||||
|
||||
/* supports extended attributes */
|
||||
|
||||
#ifdef _SYS_XATTR_H_
|
||||
#if defined(_SYS_XATTR_H) || defined(_SYS_XATTR_H_)
|
||||
capabilities |= sun_nio_fs_UnixNativeDispatcher_SUPPORTS_XATTR;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user