Linux USB
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: gadget: f_fs: cancellation fix
@ 2026-11-10 17:12 Ingo Rohloff
  2026-11-10 17:12 ` [PATCH v2 1/2] usb: gadget: f_fs: simplify error handling using goto Ingo Rohloff
  2026-11-10 17:12 ` [PATCH v2 2/2] usb: gadget: f_fs: register cancellation handler only after request queueing Ingo Rohloff
  0 siblings, 2 replies; 7+ messages in thread
From: Ingo Rohloff @ 2026-11-10 17:12 UTC (permalink / raw)
  To: gregkh; +Cc: viro, nkapron, me, michael.bommarito, linux-usb, Ingo Rohloff

This 2 part patch series does some mini refactoring and
fixes a previous commits.

Signed-off-by: Ingo Rohloff <ingo.rohloff@lauterbach.com>
---
Changes in v2:
- First patch "Fix mmgrab()/mmdrop() balance." now posted separately.
- Fix comment style and whitespace as requested by
  Neill Kapron <nkapron@google.com>
- Make sure io_data->kiocb->ki_complete() == aio_complete_rw()
  can't be called before kiocb_set_cancel_fn() has been called.
  That should it make safe to call kiocb_set_cancel_fn() after
  usb_ep_queue().

Link to v1: https://lore.kernel.org/r/20260901120908.14386-1-ingo.rohloff@lauterbach.com

---
Ingo Rohloff (2):
  usb: gadget: f_fs: simplify error handling using goto
  usb: gadget: f_fs: register cancellation handler only after request
    queueing

 drivers/usb/gadget/function/f_fs.c | 140 ++++++++++++++++-------------
 1 file changed, 76 insertions(+), 64 deletions(-)

--
2.55.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-18 13:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-10 17:12 [PATCH v2 0/2] usb: gadget: f_fs: cancellation fix Ingo Rohloff
2026-11-10 17:12 ` [PATCH v2 1/2] usb: gadget: f_fs: simplify error handling using goto Ingo Rohloff
2026-11-10 17:12 ` [PATCH v2 2/2] usb: gadget: f_fs: register cancellation handler only after request queueing Ingo Rohloff
2026-11-16 23:32   ` Neill Kapron
2026-11-17 11:21     ` Ingo Rohloff
2026-11-17 23:14       ` Neill Kapron
2026-11-18 13:00         ` Ingo Rohloff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox