aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-05-09 12:03:00 +0300
committerKonstantin Komarov <[email protected]>2022-06-10 19:14:08 +0300
commit926034353d3c67db1ffeab47dcb7f6bdac02a263 (patch)
tree1e58ffe804ac93a979a9d5a744349ddcb1a236a3 /tools/perf/scripts/python/exported-sql-viewer.py
parent19e890ff3bedc36fe3cd1cb7d03bfb66c5fdf1db (diff)
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 <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions