Re: [PATCH v2 2/3] ntfs: avoid heap allocation for free-cluster readahead state
From: CharSyam
Date: Thu May 21 2026 - 21:25:02 EST
Thanks for the clarification.
I will rebase it onto ntfs-next and resend.
2026년 5월 22일 (금) 오전 9:28, Namjae Jeon <linkinjeon@xxxxxxxxxx>님이 작성:
>
> > > * Convert the number of bits into bytes rounded up, then convert into
> > > @@ -1985,7 +1981,7 @@ s64 get_nr_free_clusters(struct ntfs_volume *vol)
> > > * Get folio from page cache, getting it from backing store
> > > * if necessary, and increment the use count.
> > > */
> > > - folio = ntfs_get_locked_folio(mapping, index, max_index, ra);
> > > + folio = ntfs_get_locked_folio(mapping, index, max_index, &ra);
> >
> > This line modifies the __get_nr_free_mft_records function, not the
> > get_nr_free_clusters function.
> > Therefore the patch needs to be rebased on ntfs-next branch at
> > git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs.git.
> We can change__get_nr_free_mft_records() in the same way as
> get_nr_free_clusters().