Skip to content
Permalink
Browse files
8274562: (fs) UserDefinedFileAttributeView doesn't correctly determin…
…e if supported when using OverlayFS

Reviewed-by: alanb
  • Loading branch information
Brian Burkhalter committed Oct 1, 2021
1 parent c05dc26 commit 3d7671b65e8491f3b1fcac8b96401401f783c9f4
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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

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

3 comments on commit 3d7671b

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 3d7671b Oct 1, 2021

Choose a reason for hiding this comment

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

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on 3d7671b Feb 14, 2022

Choose a reason for hiding this comment

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

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 3d7671b Feb 14, 2022

Choose a reason for hiding this comment

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

@GoeLin the backport was successfully created on the branch GoeLin-backport-3d7671b6 in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 3d7671b6 from the openjdk/jdk repository.

The commit being backported was authored by Brian Burkhalter on 1 Oct 2021 and was reviewed by Alan Bateman.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-3d7671b6:GoeLin-backport-3d7671b6
$ git checkout GoeLin-backport-3d7671b6
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-3d7671b6

Please sign in to comment.