On 9/21/20 2:49 AM, Hugh Dickins wrote:
On Mon, 21 Sep 2020, Tianjia Zhang wrote:
In function __shmem_file_setup(), shmem_unacct_size() is forgotten
on the failed path, so add it.
Fixes: 93dec2da7b234 ("... and switch shmem_file_setup() to
alloc_file_pseudo()")
Cc: Al Viro
Signed-off-by:
On Mon, 21 Sep 2020, Tianjia Zhang wrote:
> In function __shmem_file_setup(), shmem_unacct_size() is forgotten
> on the failed path, so add it.
>
> Fixes: 93dec2da7b234 ("... and switch shmem_file_setup() to
> alloc_file_pseudo()")
> Cc: Al Viro
> Signed-off-by: Tianjia Zhang
> ---
> mm/shmem
In function __shmem_file_setup(), shmem_unacct_size() is forgotten
on the failed path, so add it.
Fixes: 93dec2da7b234 ("... and switch shmem_file_setup() to
alloc_file_pseudo()")
Cc: Al Viro
Signed-off-by: Tianjia Zhang
---
mm/shmem.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
3 matches
Mail list logo