2020-12-17 16:05:44

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH 7/8] ext4: Fix superblock checksum failure when setting password salt

On Wed, Dec 16, 2020 at 11:18:43AM +0100, Jan Kara wrote:
> When setting password salt in the superblock, we forget to recompute the
> superblock checksum so it will not match until the next superblock
> modification which recomputes the checksum. Fix it.
>
> CC: Michael Halcrow <[email protected]>
> Reported-by: Andreas Dilger <[email protected]>
> Fixes: 9bd8212f981e ("ext4 crypto: add encryption policy and password salt support")
> Signed-off-by: Jan Kara <[email protected]>

Thanks, applied.

- Ted