Messages in this thread | | | Date | Fri, 4 Dec 2020 18:43:12 +0100 | From | David Sterba <> | Subject | Re: [PATCH] btrfs: free-space-cache: Fix error return code in __load_free_space_cache |
| |
On Fri, Nov 20, 2020 at 09:08:04AM +0800, Zhihao Cheng wrote: > Fix to return the error code(instead always 0) when memory allocating > failed in __load_free_space_cache().
Hm right the error handling flow in that function is a mess and the error values are not set. Your patch is a minimal fix so I'll add it, the function could use some cleanups though. Thanks.
| |