Fridrich Strba 2017-08-23 16:27:24 +00:00 committed by Git OBS Bridge
parent a27430f844
commit a1a8ef146c

View File

@ -1,6 +1,6 @@
--- openjdk/jdk/src/solaris/classes/sun/nio/fs/LinuxFileStore.java 2017-08-23 11:40:26.690809603 +0200
+++ openjdk/jdk/src/solaris/classes/sun/nio/fs/LinuxFileStore.java 2017-08-23 11:44:28.314815334 +0200
@@ -74,20 +74,20 @@
@@ -74,8 +74,16 @@
} catch (UnixException x) {
x.rethrowAsIOException(parent);
}
@ -19,15 +19,3 @@
path = parent;
parent = parent.getParent();
}
- // step 3: lookup mounted file systems (use /proc/mounts to ensure we
- // find the file system even when not in /etc/mtab)
- byte[] dir = path.asByteArray();
- for (UnixMountEntry entry: fs.getMountEntries("/proc/mounts")) {
- if (Arrays.equals(dir, entry.dir()))
- return entry;
- }
-
throw new IOException("Mount point not found");
}