Home
last modified time | relevance | path

Searched hist:"19 bfa9ebebb5ec0695def57eb1d80de7e9cab369" (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mtd/
H A Dmtdcore.hdiff 19bfa9ebebb5ec0695def57eb1d80de7e9cab369 Tue Jun 20 15:19:04 CEST 2023 Tomas Winkler <tomas.winkler@intel.com> mtd: use refcount to prevent corruption

When underlying device is removed mtd core will crash
in case user space is holding open handle.
Need to use proper refcounting so device is release
only when has no users.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230620131905.648089-2-alexander.usyskin@intel.com
H A Dmtdpart.cdiff 19bfa9ebebb5ec0695def57eb1d80de7e9cab369 Tue Jun 20 15:19:04 CEST 2023 Tomas Winkler <tomas.winkler@intel.com> mtd: use refcount to prevent corruption

When underlying device is removed mtd core will crash
in case user space is holding open handle.
Need to use proper refcounting so device is release
only when has no users.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230620131905.648089-2-alexander.usyskin@intel.com
H A Dmtdcore.cdiff 19bfa9ebebb5ec0695def57eb1d80de7e9cab369 Tue Jun 20 15:19:04 CEST 2023 Tomas Winkler <tomas.winkler@intel.com> mtd: use refcount to prevent corruption

When underlying device is removed mtd core will crash
in case user space is holding open handle.
Need to use proper refcounting so device is release
only when has no users.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230620131905.648089-2-alexander.usyskin@intel.com
/linux/include/linux/mtd/
H A Dmtd.hdiff 19bfa9ebebb5ec0695def57eb1d80de7e9cab369 Tue Jun 20 15:19:04 CEST 2023 Tomas Winkler <tomas.winkler@intel.com> mtd: use refcount to prevent corruption

When underlying device is removed mtd core will crash
in case user space is holding open handle.
Need to use proper refcounting so device is release
only when has no users.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230620131905.648089-2-alexander.usyskin@intel.com