All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
	almaz.alexandrovich@paragon-software.com,
	skhan@linuxfoundation.org, me@brighamcampbell.com,
	jkoolstra@xs4all.nl, Sudheendra Sampath <giveback4fun@gmail.com>
Subject: Re: [PATCH 5.15.y] fs/ntfs3: Change new sparse cluster processing
Date: Mon, 13 Jul 2026 16:34:01 -0400	[thread overview]
Message-ID: <20260713131907.agent5-0001@kernel.org> (raw)
In-Reply-To: <20260713054907.1262553-1-giveback4fun@gmail.com>

> @@ -687,25 +604,11 @@ static long ntfs_fallocate(struct file *file, int mode, loff_t vbo, loff_t len)
>  			 */
>  			for (; vcn < cend; vcn += clen) {
>  				err = attr_data_get_block(ni, vcn, cend - vcn,
> -							  &lcn, &clen, &new);
> +							  &lcn, &clen, &new, false);
>  				if (err)
>  					goto out;
>  				if (!new || vcn >= vcn_v)
>  					continue;

This hunk removes ntfs_sparse_cluster() but doesn't add upstream's replacement:
a first loop that allocates with zero=true up to cend_v (the valid_size
boundary), followed by the zero=false loop for the rest.

-- 
Thanks,
Sasha

      reply	other threads:[~2026-07-13 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-13  5:49 [PATCH 5.15.y] fs/ntfs3: Change new sparse cluster processing Sudheendra Sampath
2026-07-13 20:34 ` Sasha Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260713131907.agent5-0001@kernel.org \
    --to=sashal@kernel.org \
    --cc=almaz.alexandrovich@paragon-software.com \
    --cc=giveback4fun@gmail.com \
    --cc=jkoolstra@xs4all.nl \
    --cc=me@brighamcampbell.com \
    --cc=skhan@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.