ndevos: If you get a minute, check the same and let me know it it answers your questions (for the record I think the fix is right, but the decision making should change based on entry->inode and also by the sub-function)