]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove impossible condition
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 21 Jun 2016 05:56:25 +0000 (15:56 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 21 Jun 2016 05:56:25 +0000 (15:56 +1000)
commit4d4a192cae6d464368fbb5d95b085ee3be0b4f39
tree3d3884771fbda25671b644b3444a5546430d2278
parentd9b259592b009de588a8b242a21e404a6a5c955d
xfs: remove impossible condition

Source kernel commit a5fd276bdc4fb71b06d100a6abc77ad682f77de4

bp_release is set to 0 just before the breakpoint of the for loop before
the conditional check (in line 458). The other breakpoint is a goto that
skips the dead code.

Addresses-Coverity-Id: 102338

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
difflibxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c
index ef00156..9054c50 100644
libxfs/xfs_bmap.c