]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virfile: Detect ceph as shared FS
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Jan 2019 08:52:42 +0000 (09:52 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 28 Jan 2019 13:56:21 +0000 (14:56 +0100)
commit6dd2a2ae6386b1d51edcc9a434f56d7f9dc2cb35
tree551fa9348e27592f932c09713355f3090e623c9f
parent5772885d28fd6d7f1cabe32d2946b6e2f5088a33
virfile: Detect ceph as shared FS

https://bugzilla.redhat.com/show_bug.cgi?id=1665553

Ceph can be mounted just like any other filesystem and in fact is
a shared and cluster filesystem. The filesystem magic constant
was taken from kernel sources as it is not in magic.h yet.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/util/virfile.c
src/util/virfile.h
src/util/virstoragefile.c
tests/virfiledata/mounts3.txt
tests/virfilemock.c
tests/virfiletest.c