[PATCH 4.9 48/86] xfs: fortify xfs_alloc_buftarg error handling

2018-02-02 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko [ Upstream commit d210a9874b8f6166579408131cb74495caff1958 ] percpu_counter_init failure path doesn't clean up >bt_lru list. Call list_lru_destroy in that error

[PATCH 4.9 48/86] xfs: fortify xfs_alloc_buftarg error handling

2018-02-02 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko [ Upstream commit d210a9874b8f6166579408131cb74495caff1958 ] percpu_counter_init failure path doesn't clean up >bt_lru list. Call list_lru_destroy in that error path. Similarly