[PATCH 4.19 205/350] aoe: fix the potential use-after-free problem in more places