]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Refactor storage pool type checks
authorJohn Ferlan <jferlan@redhat.com>
Tue, 2 Jun 2015 23:35:35 +0000 (19:35 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 5 Jun 2015 10:24:59 +0000 (06:24 -0400)
commit5a8c98dbd99a3b83e4cd3e2883a9c7217e2fd5fd
treec1d4207ed9d74755d245934e3d6f3765e4b781e1
parent325a8134f9e5e825e4c5d7221d614a542768bf98
storage: Refactor storage pool type checks

Refactor the code for both startPool (*Mount) and stopPool (*Unmount) code
paths by introducing virStorageBackendFileSystemIsValid.
src/storage/storage_backend_fs.c