]> xenbits.xensource.com Git - libvirt.git/commit
schema: pool: netfs: Don't enforce slash in glusterfs pool source
authorPeter Krempa <pkrempa@redhat.com>
Wed, 28 May 2014 13:47:38 +0000 (15:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 21 Jul 2014 16:28:17 +0000 (18:28 +0200)
commitb325be128acf901d6966df097ceea2b8349f3ee5
tree203dbc815ccc59d656b9d2ba65b1a2c852278b39
parentbbfc826787b6d3afade5dd130f40669a92189963
schema: pool: netfs: Don't enforce slash in glusterfs pool source

Gluster volumes don't start with a leading slash. Our schema for netfs
gluster pools enforces it though. Luckily mount.glusterfs skips it.
Allow a slashless volume name for glusterfs netfs mounts in the schema.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1101999
docs/schemas/basictypes.rng
docs/schemas/storagepool.rng
tests/storagepoolxml2xmlin/pool-netfs-gluster-without-slash.xml [new file with mode: 0644]