[PATCH net 000/117] net: avoid to remove module when its debugfs is being used
Steve deRosier <[email protected]>
| Newsgroups | org.infradead.lists.b43-dev,org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-wireless,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CALLGbRKFOcSDX6yw9W=8fzKJw+GDdL0XSsWYq_kymvDPkz74KQ@mail.gmail.com> |
On Fri, Oct 9, 2020 at 3:22 AM Johannes Berg <[email protected]> wrote: > > On Fri, 2020-10-09 at 19:15 +0900, Taehee Yoo wrote: > > > > Okay, as you mentioned earlier in 001/117 patch thread, > > I will squash patches into per-driver/subsystem then send them as v2. > > Give me a bit. I think I figured out a less intrusive way that at least > means we don't have to do it if the fops doesn't have ->release(), which > is the vast majority. > While I'm all for a patch that fixes something at a single level instead of touching 100s of files, let me ask a loosely related, but more basic, question: Should `->owner` be set properly in each driver? Or the flip of that, should we be considering that it isn't a semantic error? I don't know the answer myself, I just thought to ask the question. IMHO, if true that `->owner` should be set for "correctness", and even if we fix the debugfs problem elsewhere, perhaps this series (squashed of course) should be merged. - Steve