Ah, actually, the sanity check should not be inside statfvs()... higher level code must decide when to do this because the assertion only holds true when you run scandir() on a mount point (in other words, when you import all files on a partition, like an entire card).
Ah, actually, the sanity check should not be inside statfvs()... higher level code must decide when to do this because the assertion only holds true when you run scandir() on a mount point (in other words, when you import all files on a partition, like an entire card).