File tree 1 file changed +1
-7
lines changed
src/java.base/linux/classes/sun/nio/fs
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -141,12 +141,6 @@ public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type
141
141
return false ;
142
142
}
143
143
144
- // user_{no}xattr options not present but we special-case ext3 as
145
- // we know that extended attributes are not enabled by default.
146
- if (entry ().fstype ().equals ("ext3" )) {
147
- return false ;
148
- }
149
-
150
144
// user_xattr option not present but we special-case ext4 as we
151
145
// know that extended attributes are enabled by default for
152
146
// kernel version >= 2.6.39
@@ -163,7 +157,7 @@ public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type
163
157
return xattrEnabled ;
164
158
}
165
159
166
- // not ext3/4 so probe mount point
160
+ // not ext4 so probe mount point
167
161
if (!xattrChecked ) {
168
162
UnixPath dir = new UnixPath (file ().getFileSystem (), entry ().dir ());
169
163
xattrEnabled = isExtendedAttributesEnabled (dir );
You can’t perform that action at this time.
0 commit comments