[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164058326343.3172825.15437605402613198910.b4-ty@mit.edu>
Date: Mon, 27 Dec 2021 00:34:40 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Harshad Shirwadkar <harshadshirwadkar@...il.com>,
linux-ext4@...r.kernel.org
Cc: "Theodore Ts'o" <tytso@....edu>,
Dan Carpenter <dan.carpenter@...cle.com>
Subject: Re: [PATCH] ext4: initialize err_blk before calling __ext4_get_inode_loc
On Wed, 1 Dec 2021 08:34:21 -0800, Harshad Shirwadkar wrote:
> From: Harshad Shirwadkar <harshadshirwadkar@...il.com>
>
> It is not guaranteed that __ext4_get_inode_loc will definitely set
> err_blk pointer when it returns EIO. To avoid using uninitialized
> variables, let's first set err_blk to 0.
>
>
> [...]
Applied, thanks!
[1/1] ext4: initialize err_blk before calling __ext4_get_inode_loc
commit: 613da7163720054004f596e5f5230753b50a7f45
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists