Skip to content
Commit 7e0785fc authored by Chandan Rajendra's avatar Chandan Rajendra Committed by Eric Biggers
Browse files

ext4: clear BH_Uptodate flag on decryption error



If decryption fails, ext4_block_write_begin() can return with the page's
buffer_head marked with the BH_Uptodate flag.  This commit clears the
BH_Uptodate flag in such cases.

Signed-off-by: default avatarChandan Rajendra <chandan@linux.ibm.com>
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent ffceeefb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment