mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Ignore char devices in storage pools by default
Without this, using /dev/mapper as a directory pool fails in virStorageBackendUpdateVolTargetInfoFD: cannot seek to end of file '/dev/mapper/control': Illegal seek Skip over character devices by default. https://bugzilla.redhat.com/show_bug.cgi?id=710866
This commit is contained in:
parent
444122d9b8
commit
0edfc9ef63
@ -130,7 +130,6 @@ enum {
|
||||
|
||||
# define VIR_STORAGE_VOL_OPEN_DEFAULT (VIR_STORAGE_VOL_OPEN_ERROR |\
|
||||
VIR_STORAGE_VOL_OPEN_REG |\
|
||||
VIR_STORAGE_VOL_OPEN_CHAR |\
|
||||
VIR_STORAGE_VOL_OPEN_BLOCK)
|
||||
|
||||
int virStorageBackendVolOpenCheckMode(const char *path, struct stat *sb,
|
||||
|
Loading…
Reference in New Issue
Block a user