]> xenbits.xensource.com Git - libvirt.git/commit
storage: Error out if the target is already mounted for netfs pool
authorOsier Yang <jyang@redhat.com>
Wed, 27 Jun 2012 14:02:23 +0000 (22:02 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 28 Jun 2012 03:53:40 +0000 (11:53 +0800)
commit8116529409357c82824fb280165ea0ee6f2d6277
treea7da91937e240c486fbae70a0628aa5ab3be19ef
parentb29f9bbe498892aa56c293b9497ac45f54f3bc9e
storage: Error out if the target is already mounted for netfs pool

mnt_fsname can not be the same, as we check the duplicate pool
sources earlier before, means it can't be the same pool, moreover,
a pool can't be started if it's already active anyway. So no reason
to act as success.
src/storage/storage_backend_fs.c