[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Aug 2023 10:18:50 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, oleg@...hat.com,
Matthew Wilcox <willy@...radead.org>,
Christian Brauner <brauner@...nel.org>
Subject: Re: [PATCH] fs: use __fput_sync in close(2)
On Tue, 8 Aug 2023 at 10:10, Mateusz Guzik <mjguzik@...il.com> wrote:
>
> Few hours ago I sent another version which very closely resembles what
> you did :)
> 2 main differences:
> - i somehow missed close_fd_get_file so I hacked my own based on close_fd
> - you need to whack the kthread assert in __fput_sync
Good call on teh __fput_sync() test.
That BUG_ON() made sense ten years ago when this was all re-organized,
not so much now.
> I'm offended you ask, it's all in my opening e-mail.
Heh. I wasn't actually cc'd on that, so I'm going by context and then
peeking at web links..
Linus
Powered by blists - more mailing lists