code: func releaseAll(ds *Dsync, locks *[]string, lockName string, isReadLock bool) {
  	for lock := 0; lock < ds.dNodeCount; lock++ {
  		if isLocked((*locks)[lock]) {
  			sendRelease(ds, ds.rpcClnts[lock], lockName, (*locks)[lock], isReadLock)
  			(*locks)[lock] = ""
  		}
  	}
  }
docs: // releaseAll releases all locks that are marked as locked