On Sat, May 09, 2020 at 07:01:25PM +0200, Christoph Hellwig wrote: > Shorten a conditional to a single line. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Looks good, Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --D > --- > db/metadump.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/db/metadump.c b/db/metadump.c > index 14e7eaa7..e5cb3aa5 100644 > --- a/db/metadump.c > +++ b/db/metadump.c > @@ -2415,8 +2415,7 @@ process_inode( > nametable_clear(); > > /* copy extended attributes if they exist and forkoff is valid */ > - if (success && > - XFS_DFORK_DSIZE(dip, mp) < XFS_LITINO(mp)) { > + if (success && XFS_DFORK_DSIZE(dip, mp) < XFS_LITINO(mp)) { > attr_data.remote_val_count = 0; > switch (dip->di_aformat) { > case XFS_DINODE_FMT_LOCAL: > -- > 2.26.2 >