Skip to content

Commit

Permalink
filters/ccsflat2cibprelude[_fs]: netfs/@fstype defaults to nfs
Browse files Browse the repository at this point in the history
Unfortunately not directly/via metadata, but via in-code handling:
https://bugzilla.redhat.com/show_bug.cgi?id=1286291

Signed-off-by: Jan Pokorný <[email protected]>
  • Loading branch information
jnpkrn committed Nov 27, 2015
1 parent 517c527 commit 74fb0c6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions filters/cluster/rm/_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@
<!-- specification a la netfs-->
<xsl:when test="$FsKind = 'netfs'
and
starts-with(@fstype, 'nfs')">
(
not(@fstype)
or
starts-with(@fstype, 'nfs')
)">
<xsl:value-of select="concat(
@host,
':',
Expand Down Expand Up @@ -115,7 +119,11 @@
</xsl:when>
<xsl:when test="$FsKind = 'netfs'
and
starts-with(@fstype, 'nfs')">
(
not(@fstype)
or
starts-with(@fstype, 'nfs')
)">
<xsl:value-of select="'sync,soft,noac'"/>
</xsl:when>
<xsl:when test="$FsKind = 'netfs'
Expand Down

0 comments on commit 74fb0c6

Please sign in to comment.