On 2019/08/01 19:55, Dave Chinner wrote: > 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. If you don't mind dropping "(__force xfs_km_flags_t)" cast, I can do it within this patch (and will post as a reply to this message).