Re: ntfs: RO->RW remount is broken - two bugs in the quota-marking path
From: Razvan Dinculescu
Date: Thu Jun 25 2026 - 16:05:26 EST
[Resending as plain text - my earlier reply was HTML and bounced off the
vger lists.]
Confirmed - cbe287fd fixes it on 7.1.1.
I exercised ro->rw remount on a freshly mkntfs'd clean NTFS volume
(loopback, in-kernel ntfs driver), three runs each way:
Stock 7.1.1 ntfs module - fails 3/3, volume forced read-only:
ntfs: (device loop0): ntfs_mark_quotas_out_of_date(): Lookup of quota
defaults entry failed.
ntfs: (device loop0): ntfs_reconfigure(): Failed to mark quotas out of
date. Cannot remount read-write.
Same fs/ntfs rebuilt with cbe287fd applied - succeeds 3/3, mounts
read-write, no errors in dmesg.
Please go ahead with the 7.1 stable backport - much appreciated, and
thanks for the quick turnaround.
Thanks,
Razvan
On Thu, Jun 25, 2026 05:30 PM, Namjae Jeon <linkinjeon@xxxxxxxxxx> wrote:
>
> On Thu, Jun 25, 2026 at 4:33 PM Razvan Dinculescu
> <razvandinculescu@xxxxxxxxx> wrote:
> >
> > Hi Namjae,
> Hi Razvan,
> >
> > Thanks for the new in-kernel ntfs driver. read-only -> read-write remount
> > fails on any clean NTFS volume. I tracked it to TWO bugs in the quota-marking
> > path and verified the analysis by building a patched module against 7.1.1 and
> > confirming that fixing both makes remount,rw succeed.
> Could you please test the patch below if it fixes this issue ? It has
> already been merged into 7.2-rc1.
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/ntfs?id=cbe287fd65f1a51eb1720e93ceca7ee8d8b011bc
>
> If you confirm that this fixes the problem, I will submit a backport
> patch for the 7.1 stable kernel.
> Thanks for the report.