562 |
if (!dev) |
if (!dev) |
563 |
return NULL; |
return NULL; |
564 |
|
|
565 |
now = time(0); |
now = time(NULL); |
566 |
diff = now - dev->bid_time; |
diff = now - dev->bid_time; |
567 |
|
|
568 |
if ((now < dev->bid_time) || |
if ((now < dev->bid_time) || |
659 |
found_type: |
found_type: |
660 |
if (dev && type) { |
if (dev && type) { |
661 |
dev->bid_devno = st.st_rdev; |
dev->bid_devno = st.st_rdev; |
662 |
dev->bid_time = time(0); |
dev->bid_time = time(NULL); |
663 |
dev->bid_flags |= BLKID_BID_FL_VERIFIED; |
dev->bid_flags |= BLKID_BID_FL_VERIFIED; |
664 |
cache->bic_flags |= BLKID_BIC_FL_CHANGED; |
cache->bic_flags |= BLKID_BIC_FL_CHANGED; |
665 |
|
|