Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: recheck buffer uptodate bit under buffer lock
Commit 8e33fad ("ext4: remove an unnecessary if statement in __ext4_get_inode_loc()") forget to recheck buffer's uptodate bit again under buffer lock, which may overwrite the buffer if someone else have already brought it uptodate and changed it. Fixes: 8e33fad ("ext4: remove an unnecessary if statement in __ext4_get_inode_loc()") Cc: [email protected] Signed-off-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information