Re: [kdave:misc-cleanups-4.5 9/9] fs/btrfs/backref.c:565:1-20: iterator with update on line 577

From: Geliang Tang
Date: Tue Jan 12 2016 - 10:24:38 EST


On Tue, Jan 12, 2016 at 07:07:24AM +0100, Julia Lawall wrote:
> I really have no idea if this is safe or not.
>
> julia
>
> On Tue, 12 Jan 2016, kbuild test robot wrote:
>
> > CC: kbuild-all@xxxxxx
> > TO: Geliang Tang <geliangtang@xxxxxxx>
> > CC: David Sterba <dsterba@xxxxxxxx>
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux misc-cleanups-4.5
> > head: a7ca42256d9fad572fb7f2c471514d7d3572b1db
> > commit: a7ca42256d9fad572fb7f2c471514d7d3572b1db [9/9] btrfs: use list_for_each_entry* in backref.c
> > :::::: branch date: 5 days ago
> > :::::: commit date: 5 days ago
> >
> > >> fs/btrfs/backref.c:565:1-20: iterator with update on line 577

Sorry for the trouble caused. It's probably unsafe. I updated my patch
to fix this problem.

- Geliang

Geliang Tang (1):
btrfs: use list_for_each_entry* in backref.c

fs/btrfs/backref.c | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)

--
2.5.0