Re: [PATCH 0/8] MUSE: Userspace backed MTD v3

From: Miklos Szeredi
Date: Wed Feb 10 2021 - 06:27:07 EST


On Wed, Feb 10, 2021 at 11:12 AM Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> But this is just a start. From the big structures still left in
> <net/fuse.h> CUSE only uses the following fields:
>
> fc: .minor, max_read, max_write, rcu, release, initialized, num_waiting
> fm: .fc
> ff: .fm
> fud: .fc
>
> Dealing with the last 3 is trivial: create and alloc function for the
> fm, and create accessor functions for the accessed fields.
>
> Dealing with fc properly is probably a bit more involved, but does not
> seem to be too compex at first glance.
>
> Do you want to take a stab at cleaning this up further?

On second thought, I'll finish this off, since I know the internal API better.

Thanks,
Miklos