mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-25 01:34:38 +03:00
o Stop printing errors if flushing fails (could be an unconfigured device).
This commit is contained in:
parent
2e09783302
commit
668879d2e1
@ -98,8 +98,7 @@ int dev_open(struct device *dev, int flags)
|
||||
|
||||
static void _flush(int fd)
|
||||
{
|
||||
if (ioctl(fd, BLKFLSBUF, 0))
|
||||
log_error("couldn't flush device.");
|
||||
ioctl(fd, BLKFLSBUF, 0);
|
||||
}
|
||||
|
||||
int dev_close(struct device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user