Most of these checks are redundant, since they are already being doneelsewhere in the code.child->d_inode is, for instance checked in may_delete() and inmay_create.IS_DEADDIR is also checked in may_create.