Fix bug 7075 - bug in vfs_scannedonly rmdir implementation.