]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xfs: remove impossible condition
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 8 Mar 2016 21:17:56 +0000 (08:17 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 8 Mar 2016 21:17:56 +0000 (08:17 +1100)
commita5fd276bdc4fb71b06d100a6abc77ad682f77de4
tree995ed5062b1c1b59b99e5d9094e11132f93a66df
parent30cbc591c34e680e8b5d6d675ea49effe42a0570
xfs: remove impossible condition

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>
fs/xfs/libxfs/xfs_bmap.c