diff options
| author | 2026-09-21 15:44:10 +0900 | |
|---|---|---|
| committer | 2026-10-20 18:41:32 +0900 | |
| commit | 43e2fff9f4ec9ff5a9731bf874327eca21259867 (patch) | |
| tree | 4f49b1ef7fb611e70b767ccdc421ce257e9523a7 /scripts/Makefile.thinlto | |
| parent | ntfs: write MFT records through containing I/O units (diff) | |
ntfs: use sync flag for direct MFT writes
Use the supplied sync flag for direct MFT writes instead of forcing
containing-unit writes to complete synchronously.
Pass sync=1 from ntfs_mft_record_free() so the MFT bitmap entry is not
released until the record write completes. Other direct-write callers keep
the completion mode requested by their caller.
The folio lock serializes write preparation, and PG_writeback keeps the
whole unit stable until all chained BIOs complete, so asynchronous
containing-unit writes remain safe.
Fixes: 115380f9a2f9 ("ntfs: update mft operations")
Cc: stable@vger.kernel.org
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
