Re: [PATCH 08/20] xfs: xfs_buf: drop useless LIST_HEAD

2018-12-23 Thread Julia Lawall
On Sun, 23 Dec 2018, Darrick J. Wong wrote: > On Sun, Dec 23, 2018 at 09:57:03AM +0100, Julia Lawall wrote: > > Drop LIST_HEAD where the variable it declares has never > > been used. > > > > The semantic patch that fixes this problem is as follows: > > (http://coccinelle.lip6.fr/) > > > > // >

Re: [PATCH 08/20] xfs: xfs_buf: drop useless LIST_HEAD

2018-12-23 Thread Darrick J. Wong
On Sun, Dec 23, 2018 at 09:57:03AM +0100, Julia Lawall wrote: > Drop LIST_HEAD where the variable it declares has never > been used. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > identifier x; > @@ > - LIST_HEAD(x); > ... when != x >

[PATCH 08/20] xfs: xfs_buf: drop useless LIST_HEAD

2018-12-23 Thread Julia Lawall
Drop LIST_HEAD where the variable it declares has never been used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier x; @@ - LIST_HEAD(x); ... when != x // Fixes: 26f1fe858f274 ("xfs: reduce lock hold times in buffer writeback") Signed-of