summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorDave Chinner2010-01-14 09:44:46 +0100
committerAlex Elder2010-01-15 20:46:19 +0100
commit3daeb42c13567e1505f233f6a699cc0e23c8ab5a (patch)
treea5897b35cb4830d73089aace8abd5b2c8bae1d7f /ipc
parentxfs: fix stale inode flush avoidance (diff)
downloadkernel-qcow2-linux-3daeb42c13567e1505f233f6a699cc0e23c8ab5a.tar.gz
kernel-qcow2-linux-3daeb42c13567e1505f233f6a699cc0e23c8ab5a.tar.xz
kernel-qcow2-linux-3daeb42c13567e1505f233f6a699cc0e23c8ab5a.zip
xfs: fix missing error check in xfs_rtfree_range
When xfs_rtfind_forw() returns an error, the block is returned uninitialised. xfs_rtfree_range() is not checking the error return, so could be using an uninitialised block number for modifying bitmap summary info. The problem was found by gcc when compiling the *userspace* libxfs code - it is an copy of the kernel code with the exact same bug. gcc gives an uninitialised variable warning on the userspace code but not on the kernel code. You gotta love the consistency (Mmmm, slightly chewy today!). Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions