[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240223-flurschaden-atemschutz-2f63ca39e81f@brauner>
Date: Fri, 23 Feb 2024 16:15:15 +0100
From: Christian Brauner <brauner@...nel.org>
To: Marc Dionne <marc.dionne@...istor.com>,
David Howells <dhowells@...hat.com>
Cc: Christian Brauner <brauner@...nel.org>,
Markus Suvanto <markus.suvanto@...il.com>,
linux-afs@...ts.infradead.org,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] afs: Fix endless loop in directory parsing
On Fri, 23 Feb 2024 13:15:02 +0000, David Howells wrote:
>
> If a directory has a block with only ".__afsXXXX" files in it (from
> uncompleted silly-rename), these .__afsXXXX files are skipped but without
> advancing the file position in the dir_context. This leads to
> afs_dir_iterate() repeating the block again and again.
>
> Fix this by making the code that skips the .__afsXXXX file also manually
> advance the file position.
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes
[1/1] afs: Fix endless loop in directory parsing
https://git.kernel.org/vfs/vfs/c/c7742709248d
Powered by blists - more mailing lists