[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231220140529.3979085c@canb.auug.org.au>
Date: Wed, 20 Dec 2023 14:05:29 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Jaegeuk Kim <jaegeuk@...nel.org>, Chao Yu <chao@...nel.org>, Jan Kara
<jack@...e.cz>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: manual merge of the vfs tree with the f2fs tree
Hi Al,
On Wed, 20 Dec 2023 01:34:02 +0000 Al Viro <viro@...iv.linux.org.uk> wrote:
>
> My suggested resolution had been wrong, actually - the way it's written,
> link count drop should be conditional on old_is_dir, cross-directory or
> not.
>
> I think the right solution is
> if (old_dir_entry)
> f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir);
> if (old_is_dir)
> f2fs_i_links_write(old_dir, false);
Ok, I will fix it up.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists