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 @@ -162,12 +162,6 @@ public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type
162
162
return false ;
163
163
}
164
164
165
- // user_{no}xattr options not present but we special-case ext3 as
166
- // we know that extended attributes are not enabled by default.
167
- if (entry ().fstype ().equals ("ext3" )) {
168
- return false ;
169
- }
170
-
171
165
// user_xattr option not present but we special-case ext4 as we
172
166
// know that extended attributes are enabled by default for
173
167
// kernel version >= 2.6.39
@@ -184,7 +178,7 @@ public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type
184
178
return xattrEnabled ;
185
179
}
186
180
187
- // not ext3/4 so probe mount point
181
+ // not ext4 so probe mount point
188
182
if (!xattrChecked ) {
189
183
UnixPath dir = new UnixPath (file ().getFileSystem (), entry ().dir ());
190
184
xattrEnabled = isExtendedAttributesEnabled (dir );
You can’t perform that action at this time.
0 commit comments