1
0
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:
Joe Thornber 2002-04-24 08:37:34 +00:00
parent 2e09783302
commit 668879d2e1

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)