diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-10-02 15:52:48 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-04 12:31:40 +0200 |
| commit | 31a1fb90624d7e275db775a29a0e00a7f8b3df63 (patch) | |
| tree | d674269c037f14f9546f06cd1bf375dc35742b98 /scripts/Makefile.thinlto | |
| parent | c9ec8607b4d1ce4e862f5b6ba2f0eb727387988a (diff) | |
| download | linux-next-31a1fb90624d7e275db775a29a0e00a7f8b3df63.tar.gz linux-next-31a1fb90624d7e275db775a29a0e00a7f8b3df63.zip | |
nullfs: refuse file locks
Refuse flock() and POSIX locks on nullfs. Its one inode is the root of
every kernel thread and the following patches make it the directory
that stands in for an unmounted mount, so a lock taken through one such
directory would block the locks of every other holder and F_GETLK would
tell them the pid of the holder. Give the directory file operations of
its own: what libfs gives an empty directory plus ->lock and ->flock
that fail with ENOLCK, the way a filesystem without lock support does.
Link: https://patch.msgid.link/20261002-work-mount-fixes-4-v1-17-dd44b89d44ce@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
