Messages in this thread | | | Date | Fri, 18 Feb 2022 03:29:56 +0000 | From | Al Viro <> | Subject | Re: [PATCH][RFC] ipc,fs: use rcu_work to free struct ipc_namespace |
| |
On Thu, Feb 17, 2022 at 03:36:20PM -0500, Rik van Riel wrote: > The patch works, but a cleanup question for Al Viro: > > How do we get rid of #include "../fs/mount.h" and the raw ->mnt_ns = NULL thing > in the cleanest way?
Hell knows... mnt_make_shortterm(mnt) with big, fat warning along the lines of "YOU MUST HAVE AN RCU GRACE PERIOD BEFORE YOU DROP THAT REFERENCE!!!", perhaps?
| |