static ZERO_OR_ERROR FS_write_owq(struct one_wire_query *owq) { ZERO_OR_ERROR write_error = (OWQ_pn(owq).selected_filetype->write) (owq); OWQ_Cache_Del(owq) ; // Delete anyways LEVEL_DEBUG("Write %s Extension %d Gives result %d",PN(owq)->path,PN(owq)->extension,write_error); return write_error; }
//; Special version for the mTS017 that knows about multiplexing for the cache static ZERO_OR_ERROR FS_r_data17(struct one_wire_query *owq) { if ( FS_r_data(owq) < 0 ) { return -EINVAL ; } // Is it a multiplex? Then kill cache if ( (OWQ_U(owq) & mTS017_plex) == mTS017_multi ) { OWQ_Cache_Del(owq) ; } return 0 ; }