From: Christoph Hellwig Date: Mon, 11 May 2020 20:48:45 +0000 (-0400) Subject: metadump: small cleanup for process_inode X-Git-Tag: xfsprogs-5.7-fixes_2020-06-25~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19a627b52382ec7d6efff4207d03d8ab5597d85;p=thirdparty%2Fxfsprogs-dev.git metadump: small cleanup for process_inode Shorten a conditional to a single line. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/db/metadump.c b/db/metadump.c index 14e7eaa73..e5cb3aa57 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: