void function ( Inode < ? > arg0 , Inode arg1 ) { arg0 . lockWriteAndCheckParent ( arg1 ) ; mInodes . add ( arg0 ) ; mLockModes . add ( InodeTree . LockMode . WRITE ) ; }
locks the given inode in write mode , and adds it to this lock list . this method ensures the parent is the expected parent inode . note : this method assumes that the inode path to the parent has been read locked . concode_field_sep List<InodeTree.LockMode> mLockModes concode_elem_sep List<Inode<?>> mInodes concode_field_sep void lockWriteAndCheckNameAndParent concode_elem_sep void lockWrite concode_elem_sep void lockReadAndCheckNameAndParent concode_elem_sep void lockReadAndCheckParent concode_elem_sep void unlockLast concode_elem_sep List<Inode<?>> getInodes concode_elem_sep void lockRead concode_elem_sep void close