1
0
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:
Joe Thornber 2002-04-24 08:37:34 +00:00
parent e82f37cbbf
commit e3528bcda7

View File

@ -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)