Skip to content

Commit

Permalink
Fix for STOR-925
Browse files Browse the repository at this point in the history
GPFS drops dev prefix in mtab causing StoRM backend sanity check to fail
  • Loading branch information
enricovianello committed Sep 1, 2017
1 parent 4f0352c commit fc2bdcb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/it/grid/storm/filesystem/MtabUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ public static final int getMtabFscOrderPositionIndex() {

protected static boolean skipLineForMountPoints(String line) {

if (line.startsWith("#") || !line.startsWith("/dev/")) {
return true;
}
return false;
return line.startsWith("#") || line.isEmpty();
}

public static Map<String, String> getFSMountPoints() throws Exception {
Expand Down

0 comments on commit fc2bdcb

Please sign in to comment.