Skip to content


8274562: (fs) UserDefinedFileAttributeView doesn't correctly determin…
Browse files Browse the repository at this point in the history
…e if supported when using OverlayFS

Backport-of: 3d7671b65e8491f3b1fcac8b96401401f783c9f4
  • Loading branch information
GoeLin committed Feb 15, 2022
1 parent ab3dd20 commit 2011c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
Expand Up @@ -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;

Expand Down Expand Up @@ -1330,4 +1330,4 @@ Java_sun_nio_fs_UnixNativeDispatcher_flistxattr(JNIEnv* env, jclass clazz,
if (res == (size_t)-1)
throwUnixException(env, errno);
return (jint)res;

1 comment on commit 2011c35

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.