On Tue, 2021-10-19 at 09:04 +0100, Mauro Carvalho Chehab wrote: > The mandatory file locking got removed due to its problems, but > there's still a comment inside fs/locks.c pointing to the removed > doc. > > Remove it. > > Fixes: f7e33bdbd6d1 ("fs: remove mandatory file locking support") > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> > --- > > To mailbombing on a large number of people, only mailing lists were C/C on the cover. > See [PATCH v3 00/23] at: https://lore.kernel.org/all/cover.1634630485.git.mchehab+huawei@xxxxxxxxxx/ > > fs/locks.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/locks.c b/fs/locks.c > index d397394633be..94feadcdab4e 100644 > --- a/fs/locks.c > +++ b/fs/locks.c > @@ -61,7 +61,6 @@ > * > * Initial implementation of mandatory locks. SunOS turned out to be > * a rotten model, so I implemented the "obvious" semantics. > - * See 'Documentation/filesystems/mandatory-locking.rst' for details. > * Andy Walker (andy@xxxxxxxxxxxxxxxxxxx), April 06, 1996. > * > * Don't allow mandatory locks on mmap()'ed files. Added simple functions to Thanks Mauro. I'll pick this into my locks branch, so it should make v5.16 as well. -- Jeff Layton <jlayton@xxxxxxxxxx>