]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfsprogs: Fix stray semicolon in libxfs/rdwr.c
authorEric Sandeen <sandeen@redhat.com>
Thu, 14 Nov 2013 20:54:02 +0000 (20:54 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 18 Nov 2013 00:53:30 +0000 (18:53 -0600)
The commit:

800db1c1 libxfs: refactor libxfs_buf_read_map for xfs_db

introduced a stray semicolon during the refactoring.  Luckily it
only breaks the error case.

(Caught by Coverity, CID 1128894)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
libxfs/rdwr.c

index 0aa2eba18910ac5e33ac1525e15d0b6e0505da76..0219a08bc1dd38e44157cac1a9a90fbcf90557c0 100644 (file)
@@ -754,7 +754,7 @@ libxfs_readbufr_map(struct xfs_buftarg *btp, struct xfs_buf *bp,
                offset += len;
        }
 
-       if (!error);
+       if (!error)
                bp->b_flags |= LIBXFS_B_UPTODATE;
 #ifdef IO_DEBUG
        printf("%lx: %s: read %u bytes, error %d, blkno=0x%llx(0x%llx), %p\n",