akaros/scripts/plan9randomfixup
<<
>>
Prefs
   1#!/bin/bash
   2sed -i 's/qunlock(&(&ip->fraglock4)->qlock)/qunlock(\&ip->fraglock4)/' $1
   3sed -i 's/qlock(&(&ip->fraglock4)->qlock)/qlock(\&ip->fraglock4)/' $1
   4sed -i 's/kref_get(&(&ip->id4)->ref/kref_get(\&ip->id4/' $1
   5
   6sed -i 's/qunlock(&(&ip->fraglock6)->qlock)/qunlock(\&ip->fraglock6)/' $1
   7sed -i 's/qlock(&(&ip->fraglock6)->qlock)/qlock(\&ip->fraglock6)/' $1
   8sed -i 's/kref_get(&(&ip->id6)->ref/kref_get(\&ip->id6/' $1
   9
  10