Re: [PATCH v2] ext4: remove redundant check buffer_uptodate()
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-16 23:26:54
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-16 23:26:54
On Mon, Apr 26, 2021 at 02:29:47PM +0800, Joseph Qi wrote:
Now set_buffer_uptodate() will test first and then set, so we don't have to check buffer_uptodate() first, remove it to simplify code. Reviewed-by: Ritesh Harjani <redacted> Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Part of this change was already submitted by Yang Guo from Huawei; I've applied the portion of this patch which is still applicable (which was for ext4_buffer_uptodate function) Thanks, - Ted