]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
metadump: small cleanup for process_inode
authorChristoph Hellwig <hch@lst.de>
Mon, 11 May 2020 20:48:45 +0000 (16:48 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 11 May 2020 20:48:45 +0000 (16:48 -0400)
Shorten a conditional to a single line.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/metadump.c

index 14e7eaa736ab0233ec5b44a0cfcbd4bd8cdaa86d..e5cb3aa57ade6ce9989a5aaeba5b2ee5aa6f1b9a 100644 (file)
@@ -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: