the mount directory exists and has the required device number.
Before, e.g., `df /floppy' would mistakenly report on the root
partition if /floppy were not listed in /etc/mtab but / was.
Patch from Eirik Fuller (http://bugs.debian.org/76923).
}
}
- if (best_match && !STREQ (best_match->me_type, "lofs"))
+ if (best_match && !STREQ (best_match->me_type, "lofs")
+ && stat (best_match->me_mountdir, &disk_stats) == 0
+ && disk_stats.st_dev == statp->st_dev)
{
me = best_match;
goto show_me;