aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-12-31 16:44:09 +1100
committerJens Axboe <axboe@kernel.dk>2018-12-31 10:19:15 -0700
commit296dcc40f2f2e402facf7cd26cf3f2c8f4b17d47 (patch)
treef89c21a86cbe94b244c5c0bcb2799813576d4bf0 /tools/perf/scripts/python/flamegraph.py
parentblock/swim3: Remove dead return statement (diff)
downloadlinux-296dcc40f2f2e402facf7cd26cf3f2c8f4b17d47.tar.gz
linux-296dcc40f2f2e402facf7cd26cf3f2c8f4b17d47.zip
block/swim3: Fix -EBUSY error when re-opening device after unmount
When the block device is opened with FMODE_EXCL, ref_count is set to -1. This value doesn't get reset when the device is closed which means the device cannot be opened again. Fix this by checking for refcount <= 0 in the release method. Reported-and-tested-by: Stan Johnson <userm57@yahoo.com> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
ertions'>+231 2018-03-20MAINTAINERS: Update maintainer for dwc2John Youn1-1/+1 2018-03-20usb: core: urb: Check SSP isoc ep comp descriptorThinh Nguyen1-0/+8 2018-03-18Linux 4.16-rc6v4.16-rc6Linus Torvalds1-1/+1 2018-03-17parisc: Handle case where flush_cache_range is called with no contextJohn David Anglin1-9/+32 2018-03-16x86/microcode: Fix CPU synchronization routineBorislav Petkov1-27/+41 2018-03-16x86/microcode: Attempt late loading only when new microcode is presentBorislav Petkov4-19/+28 2018-03-16USB: wusbcore: crypto: Remove VLA usageGustavo A. R. Silva1-2/+6 2018-03-16USB: host: sl811: Re-use DEFINE_SHOW_ATTRIBUTE() macroAndy Shevchenko1-14/+3 2018-03-16xhci: Show what USB release number the xHC supports from protocol capablityMathias Nyman1-3/+11 2018-03-16xhci: Clear the host side toggle manually when endpoint is soft resetMathias Nyman3-17/+95 2018-03-16xhci: refactor xhci_urb_enqueue a bit with minor changesMathias Nyman1-11/+9 2018-03-16xhci: Don't always run the default stop endpoint command completion handlerMathias Nyman1-1/+2 2018-03-16xhci: zero usb device slot_id member when disabling and freeing a xhci slotMathias Nyman1-0/+2 2018-03-16usb: xhci: Remove ep_trb from finish_td()Lu Baolu1-4/+4 2018-03-16usb: xhci: Remove ep_trb from xhci_cleanup_halted_endpoint()Lu Baolu1-7/+4 2018-03-16usb: xhci: Clean up error code in xhci_dbc_tty_register_device()Dan Carpenter1-2/+3 2018-03-16Revert "btrfs: use proper endianness accessors for super_copy"David Sterba2-15/+13 2018-03-16KVM: x86: Fix device passthrough when SME is activeTom Lendacky1-1/+3 2018-03-16microblaze: switch to NO_BOOTMEMRob Herring2-50/+7 2018-03-16microblaze: remove unused alloc_maybe_bootmemRob Herring2-9/+0 2018-03-16microblaze: Setup dependencies for ASM optimized lib functionsMichal Simek2-5/+1 2018-03-16x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklistAlexander Sergeyev1-2/+1 2018-03-16phy: tegra: xusb: Uncomment register writeThierry Reding1-4/+2 2018-03-16phy: rockchip-typec: fall back to working in host-mode if extcon is missing.Enric Balletbo i Serra1-3/+10 2018-03-16dt-bindings: phy-rockchip-typec: move extcon property to be optional.Enric Balletbo i Serra1-0/+2 2018-03-16phy: rockchip-typec: support DP phy switchChris Zhong1-1/+8 2018-03-16phy: rockchip-typec: force to USB2 if DP at 4 lanes modeChris Zhong1-3/+18 2018-03-16phy: rockchip-typec: enable usb3 host during usb3 phy power onWilliam wu1-0/+11 2018-03-16dt-bindings: phy-rockchip-typec: deprecate some register properties.Enric Balletbo i Serra1-26/+7 2018-03-16phy: rockchip-typec: deprecate some DT properties for various register fields.Enric Balletbo i Serra1-49/+63 2018-03-16phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4Tony Lindgren4-0/+580 2018-03-16phy: add inno-usb2-phy driver for hi3798cv200 SoCPengcheng Li3-0/+208