]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: netfs: Split up and tidy up NFS storage pool source function
authorPeter Krempa <pkrempa@redhat.com>
Wed, 26 Mar 2014 16:25:40 +0000 (17:25 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 1 Apr 2014 09:06:05 +0000 (11:06 +0200)
commit18642d100f2f73c3a9a42211cddf5cda38943656
tree864061bbc0a10f0aacacfcc9f670c802bb50ec52
parent09544abf2acf18025592a69e09ecf0565b5e830d
storage: netfs: Split up and tidy up NFS storage pool source function

Extract the NFS related stuff into a separate function and tidy up the
rest of the code so we can reuse it to add gluster backend detection.

Additionally avoid reporting of errors from "showmount" and return an
empty source list instead. This will help when adding other detection
backends.
src/storage/storage_backend_fs.c