On 4/13/26 21:20, Zi Yan wrote:
> READ_ONLY_THP_FOR_FS is no longer present, remove related comment.
> 
> Signed-off-by: Zi Yan <[email protected]>
> Acked-by: David Sterba <[email protected]>
> ---
>  fs/btrfs/defrag.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/fs/btrfs/defrag.c b/fs/btrfs/defrag.c
> index 7e2db5d3a4d4..a8d49d9ca981 100644
> --- a/fs/btrfs/defrag.c
> +++ b/fs/btrfs/defrag.c
> @@ -860,9 +860,6 @@ static struct folio *defrag_prepare_one_folio(struct 
> btrfs_inode *inode, pgoff_t
>               return folio;
>  
>       /*
> -      * Since we can defragment files opened read-only, we can encounter
> -      * transparent huge pages here (see CONFIG_READ_ONLY_THP_FOR_FS).
> -      *
>        * The IO for such large folios is not fully tested, thus return
>        * an error to reject such folios unless it's an experimental build.
>        *

Reviewed-by: David Hildenbrand (Arm) <[email protected]>

-- 
Cheers,

David

Reply via email to