On Thu, Aug 01, 2019 at 07:07:22PM +0900, Tetsuo Handa wrote: > Since no caller is using KM_NOSLEEP and no callee branches on KM_SLEEP, > but removing KM_SLEEP requires modification of 97 locations, let's remove > KM_NOSLEEP branch and (for now) change KM_SLEEP to 0. Just remove KM_SLEEP. It's trivial to do with a couple of quick sed scripts. Off the top of my head, this should largely do it: for f in `git grep -l KM_SLEEP fs/xfs`; do \ sed -i -e 's/KM_SLEEP | //' \ -e 's/KM_SLEEP|//' \ -e 's/KM_SLEEP)/0)/' $f; \ done Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx