src/kernel/fs/fat32.c
/*!
 * @note get the entry`s write lock and let ref cnt increase.
 * @warning for the target entry,don`t hold any lock before this function invoking.
 * @param entry
 * @return
 */
@note get the entry`s write lock and let ref cnt increase.
@warning for the target entry,don`t hold any lock before this function invoking.
@param entry
@return
@note get the entry ` s write lock and let ref cnt increase . @warning for the target entry don ` t hold any lock before this function invoking . @param entry @return
void entry_get_write(entry_t * entry){
    fs_stub_rw_w_lock_acquire(&entry->rw_lock);
    entry->ref_cnt++;
    entry->dirty = true;
}
void entry_get_write ( entry_t * entry ) { fs_stub_rw_w_lock_acquire ( & entry -> rw_lock ) ; entry -> ref_cnt ++ ; entry -> dirty = true ; }
@note get the entry`s write lock and let ref cnt increase.
@note get the entry ` s write lock and let ref cnt increase .