From: Eric Sandeen Date: Thu, 14 Nov 2013 20:54:02 +0000 (+0000) Subject: xfsprogs: Fix stray semicolon in libxfs/rdwr.c X-Git-Tag: v3.2.0-alpha2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64eb960fb0d95bab9aa0c28f8c809bcaaeac564f;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: Fix stray semicolon in libxfs/rdwr.c 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 Reviewed-by: Dave Chinner Signed-off-by: Rich Johnston --- diff --git a/libxfs/rdwr.c b/libxfs/rdwr.c index 0aa2eba18..0219a08bc 100644 --- a/libxfs/rdwr.c +++ b/libxfs/rdwr.c @@ -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",