no need for mtpt_dir_entry_pcmp() to be public if mtpt_dir_entry_new() is not public
fix a few bugs