aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-08-06 01:19:08 +0000
committerAlex Williamson <[email protected]>2021-08-11 15:50:11 +0000
commit9b0d6b7e28a9bbbf4cee0727a299c2107047b1a5 (patch)
treeec4dc8bb6f52ad6031c5f6a0dc9465a8b6b18acd /fs/ext4/fast_commit.c
parentvfio/mbochs: Fix close when multiple device FDs are open (diff)
downloadkernel-9b0d6b7e28a9bbbf4cee0727a299c2107047b1a5.tar.gz
kernel-9b0d6b7e28a9bbbf4cee0727a299c2107047b1a5.zip
vfio/ap,ccw: Fix open/close when multiple device FDs are open
The user can open multiple device FDs if it likes, however these open() functions call vfio_register_notifier() on some device global state. Calling vfio_register_notifier() twice in will trigger a WARN_ON from notifier_chain_register() and the first close will wrongly delete the notifier and more. Since these really want the new open/close_device() semantics just change the functions over. Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions