summaryrefslogtreecommitdiffstats
path: root/fs/omfs
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2014-10-02 09:23:49 +1000
committerDave Chinner <david@fromorbit.com>2014-10-02 09:23:49 +1000
commit6ee49a20c13b4b4e79a3bba406df8106cff284a1 (patch)
tree07fd39c605fbfd6bb17fe348730d664b11c18fd2 /fs/omfs
parentce57bcf6b81caf1e9f780e98e8d23d3555746d74 (diff)
downloadop-kernel-dev-6ee49a20c13b4b4e79a3bba406df8106cff284a1.zip
op-kernel-dev-6ee49a20c13b4b4e79a3bba406df8106cff284a1.tar.gz
xfs: don't send null bp to xfs_trans_brelse()
In this case, if bp is NULL, error is set, and we send a NULL bp to xfs_trans_brelse, which will try to dereference it. Test whether we actually have a buffer before we try to free it. Coverity spotted this. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/omfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud