aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorZev Weiss <[email protected]>2021-10-14 20:39:52 +0000
committerMiquel Raynal <[email protected]>2021-10-15 10:30:40 +0000
commitc13de2386c78e890d4ae6f01a85eefd0b293fb08 (patch)
tree5cb53144b70018a704b03c28b15d60ed3d3d883d /drivers/fpga/fpga-bridge.c
parentMAINTAINERS: Update the devicetree documentation path of hyperbus (diff)
downloadkernel-c13de2386c78e890d4ae6f01a85eefd0b293fb08.tar.gz
kernel-c13de2386c78e890d4ae6f01a85eefd0b293fb08.zip
mtd: core: don't remove debugfs directory if device is in use
Previously, if del_mtd_device() failed with -EBUSY due to a non-zero usecount, a subsequent call to attempt the deletion again would try to remove a debugfs directory that had already been removed and panic. With this change the second call can instead proceed safely. Fixes: e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries") Signed-off-by: Zev Weiss <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions