mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o Stop printing errors if flushing fails (could be an unconfigured device).
This commit is contained in:
parent
e82f37cbbf
commit
e3528bcda7
@ -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