aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2017-10-09 21:08:06 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-10-11 10:21:07 -0700
commit93e8befc17f6d6ea92b0aee3741ceac8bca4590f (patch)
tree19412a90dafb857dd468dcddfbe4bd6f1ca14180 /tools/perf/scripts/python/intel-pt-events.py
parentxfs: reinit btree pointer on attr tree inactivation walk (diff)
downloadlinux-93e8befc17f6d6ea92b0aee3741ceac8bca4590f.tar.gz
linux-93e8befc17f6d6ea92b0aee3741ceac8bca4590f.zip
xfs: handle error if xfs_btree_get_bufs fails
Jason reported that a corrupted filesystem failed to replay the log with a metadata block out of bounds warning: XFS (dm-2): _xfs_buf_find: Block out of range: block 0x80270fff8, EOFS 0x9c40000 _xfs_buf_find() and xfs_btree_get_bufs() return NULL if that happens, and then when xfs_alloc_fix_freelist() calls xfs_trans_binval() on that NULL bp, we oops with: BUG: unable to handle kernel NULL pointer dereference at 00000000000000f8 We don't handle _xfs_buf_find errors very well, every caller higher up the stack gets to guess at why it failed. But we should at least handle it somehow, so return EFSCORRUPTED here. Reported-by: Jason L Tibbitts III <tibbs@math.uh.edu> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
nux/commit/drivers/mfd/ab3100-otp.c?id=bbc48c6aaab9cff03e6e966bf752c3b7ad91d16a&follow=1'>mfd: ab3100-otp: use module_platform_driver_probe()Jingoo Han1-13/+1 2013-04-05mfd: stmpe: DT: Add stmpe-i2c dt alias to get id deviceGabriel Fernandez1-1/+4 2013-04-05mfd: stmpe: DT: Enable no-irq mode configurationGabriel Fernandez1-0/+3 2013-04-05mfd: syscon: Add non-DT supportAlexander Shiyan3-31/+46 2013-04-05mfd: syscon: Removed unneeded field "dev" from private driver structureAlexander Shiyan1-4/+1 2013-04-05mfd: palmas: Change the DT node property names to follow the conventionJ Keerthy1-3/+3 2013-04-05mfd: as3711: Add OF supportGuennadi Liakhovetski2-4/+96 2013-04-05mfd: cros_ec: Add MFD_CORE dependencyDavid Rientjes1-0/+1 2013-04-05mfd: cros_ec_spi: Warnings fixSamuel Ortiz1-3/+3 2013-04-05mfd: cros_ec: Export needed symbols for the i2c and spi modulesSamuel Ortiz1-0/+7 2013-04-05input: Add ChromeOS EC keyboard driverSimon Glass4-0/+419 2013-04-05input: matrix-keymap: Add function to read the new DT bindingSimon Glass5-18/+54 2013-04-05mfd: Add ChromeOS EC SPI driverSimon Glass3-0/+386 2013-04-05mfd: Add ChromeOS EC I2C driverSimon Glass3-0/+212 2013-04-05mfd: Add ChromeOS EC implementationSimon Glass5-0/+424