[PATCH 2/2] blkid: reset BLKID_TINY_DEV flag in blkid_probe_set_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pascal Terjan <pterjan@xxxxxxxxxxxx>
---
 shlibs/blkid/src/probe.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c
index 58180f9..7857155 100644
--- a/shlibs/blkid/src/probe.c
+++ b/shlibs/blkid/src/probe.c
@@ -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;
-- 
1.7.0.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux