Skip to content

Commit

Permalink
mxmount: Allow export of C0000 Jbods if exportopts are set
Browse files Browse the repository at this point in the history
e.g.

acedia  C4014 defaults,inode64 @confidential(sync,rw,no_root_squash,no_subtree_check,insecure_locks)
  • Loading branch information
mariux committed Jun 16, 2015
1 parent 4ade260 commit 7259906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mxmount
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ sub parse_data {
} elsif($D->{label} =~ /^C/) {
$D->{mountpoint} = 'C/' . $D->{label};
$D->{label} = lc($D->{label});
$D->{noexport} = 1;
if (!$data[3]) {
$D->{noexport} = 1;
}
} elsif($D->{label} =~ /^data(.*)/) {
$D->{mountpoint} = $1;
} else {
Expand Down

0 comments on commit 7259906

Please sign in to comment.