[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251104-abgearbeitet-rotwild-09b3c0375625@brauner>
Date: Tue, 4 Nov 2025 21:56:00 +0100
From: Christian Brauner <brauner@...nel.org>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: linux-fsdevel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.cz>, linux-btrfs@...r.kernel.org,
linux-ext4@...r.kernel.org, linux-xfs@...r.kernel.org
Subject: Re: [PATCH RFC 4/8] btrfs: use super write guard in sb_start_write()
On Tue, Nov 04, 2025 at 06:00:29PM +0100, Mateusz Guzik wrote:
> On Tue, Nov 04, 2025 at 01:12:33PM +0100, Christian Brauner wrote:
> > Signed-off-by: Christian Brauner <brauner@...nel.org>
> > ---
> > fs/btrfs/volumes.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
> > index 2bec544d8ba3..4152b0a5537a 100644
> > --- a/fs/btrfs/volumes.c
> > +++ b/fs/btrfs/volumes.c
> > @@ -4660,7 +4660,8 @@ static int balance_kthread(void *data)
> > struct btrfs_fs_info *fs_info = data;
> > int ret = 0;
> >
> > - sb_start_write(fs_info->sb);
> > + guard(super_write)(fs_info->sb);
> > +
> > mutex_lock(&fs_info->balance_mutex);
> > if (fs_info->balance_ctl)
> > ret = btrfs_balance(fs_info, fs_info->balance_ctl, NULL);
> >
>
> this missed sb_end_write call removal
Thanks, fixed!
Powered by blists - more mailing lists