linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dave@treblig.org>
To: boris@bur.io
Cc: linux-btrfs@vger.kernel.org
Subject: of btrfs_free_squota_rsv
Date: Thu, 3 Oct 2024 13:45:32 +0000	[thread overview]
Message-ID: <Zv6f_ALAoC_kFg9z@gallifrey> (raw)

Hi Boris,
  One of my scripts noticed that 'btrfs_free_squota_rsv' is unused;
it came from your commit:

commit e85a0adacf170634878fffcbf34b725aff3f49ed
Author: Boris Burkov <boris@bur.io>
Date:   Fri Dec 1 13:00:13 2023 -0800

    btrfs: ensure releasing squota reserve on head refs

I was going to deadcode it, but then thought I'd better check since
unused 'free's sometime turn out to be someone forgot to free something!

Thoughts?

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/

             reply	other threads:[~2024-10-03 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-03 13:45 Dr. David Alan Gilbert [this message]
2024-10-03 18:38 ` of btrfs_free_squota_rsv Boris Burkov
2024-10-03 20:34   ` Dr. David Alan Gilbert

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=Zv6f_ALAoC_kFg9z@gallifrey \
    --to=dave@treblig.org \
    --cc=boris@bur.io \
    --cc=linux-btrfs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).