]> err.no Git - util-linux/commitdiff
libblkid: reset BLKID_TINY_DEV flag in blkid_probe_set_device
authorPascal Terjan <pterjan@mandriva.com>
Wed, 10 Mar 2010 10:08:02 +0000 (11:08 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Mar 2010 10:55:29 +0000 (11:55 +0100)
Signed-off-by: Pascal Terjan <pterjan@mandriva.com>
shlibs/blkid/src/probe.c

index b245d43b3379fdf981f21f566375f67ce33be8b9..6e8513d2266078a1bc906724cd1dd7b11c222e4c 100644 (file)
@@ -569,6 +569,7 @@ int blkid_probe_set_device(blkid_probe pr, int fd,
                close(pr->fd);
 
        pr->flags &= ~BLKID_PRIVATE_FD;
+       pr->flags &= ~BLKID_TINY_DEV;
        pr->fd = fd;
        pr->off = off;
        pr->size = 0;