forked from pool/java-1_8_0-openjdk
This commit is contained in:
parent
a27430f844
commit
a1a8ef146c
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user