8009632: (fs) FileStore.supportsFileAttributeView does not detect user_xattr enabled on ext4

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 12 11:08:45 UTC 2018


On 12/04/2018 01:15, Brian Burkhalter wrote:
> https://bugs.openjdk.java.net/browse/JDK-8009632
>
> Remove special case handling of ext3 and ext4 and perform the check programmatically. xattr is enabled by default on at least ext4 and in any case there seems to be no point in having this special case.
It might be better to check for "nouser_xattr" so that there is no 
probing when extended attributes are disabled. Then you can return true 
if the file system is ext3 or ext4 and avoid probing for these cases.

-Alan.


More information about the nio-dev mailing list