aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2024-05-29 06:40:52 +0000
committerKonstantin Komarov <[email protected]>2024-07-11 09:19:46 +0000
commit2fef55d8f78383c8e6d6d4c014b9597375132696 (patch)
treee604a145f305f59ec4dd66bd6df09a1ce5af6c97 /scripts/generate_rust_analyzer.py
parentfs/ntfs3: Implement simple fileattr (diff)
downloadkernel-2fef55d8f78383c8e6d6d4c014b9597375132696.tar.gz
kernel-2fef55d8f78383c8e6d6d4c014b9597375132696.zip
fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
If an NTFS file system is mounted to another system with different PAGE_SIZE from the original system, log->page_size will change in log_replay(), but log->page_{mask,bits} don't change correspondingly. This will cause a panic because "u32 bytes = log->page_size - page_off" will get a negative value in the later read_log_page(). Cc: [email protected] Fixes: b46acd6a6a627d876898e ("fs/ntfs3: Add NTFS journal") Signed-off-by: Huacai Chen <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions