Skip to content

Commit

Permalink
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
Original file line number Diff line number Diff line change
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;
#endif

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;
}
}

0 comments on commit 2011c35

Please sign in to comment.