Searched hist:"926034353 d3c67db1ffeab47dcb7f6bdac02a263" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ntfs3/ |
H A D | fslog.c | diff 926034353d3c67db1ffeab47dcb7f6bdac02a263 Mon May 09 04:03:00 CDT 2022 Dan Carpenter <dan.carpenter@oracle.com> fs/ntfs3: Don't clear upper bits accidentally in log_replay()
The "vcn" variable is a 64 bit. The "log->clst_per_page" variable is a u32. This means that the mask accidentally clears out the high 32 bits when it was only supposed to clear some low bits. Fix this by adding a cast to u64.
Fixes: b46acd6a6a62 ("fs/ntfs3: Add NTFS journal") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
|