Public bug reported:
## Summary
Backport linux-next commit `b7a9125cac8645245d2473c6c0a50e338280ad23`
to fix an `ntfs3` mount failure on 64K page-size kernels.
The original failure was reproduced by LTP `fsconfig01` using the new mount
API path:
- `fsopen("ntfs")`
- `fsconfig(FSCONFIG_CMD_CREATE)`
- kernel `ntfs3` driver
On 64K kernels, small NTFS volumes could fail with `EINVAL` because
`log_replay()` used `PAGE_SIZE` for the initial NTFS log page-size probe.
For a 64K kernel this inflated the minimum accepted `$LogFile` size from
about 200 KiB to about 3.2 MiB. A 300 MiB NTFS filesystem, such as the one
created by LTP `fsconfig01`, has a smaller log file and was rejected.
The fix makes the initial probe use the NTFS default log page size and makes
`read_log_page()` pass the actual log page size to `ntfs_fix_post_read()`.
## Backport Provenance
The patch cherry-picked cleanly from linux-next.
- Upstream commit: `b7a9125cac8645245d2473c6c0a50e338280ad23`
** Affects: linux-nvidia-7.0 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155467
Title:
fs/ntfs3: fix mount failure on 64K page-size kernels
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-7.0/+bug/2155467/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs