[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADhLXY6y_kqW3kEbWiBncVv7v+7TgTKaGrBm08HiSQjfUuJGKg@mail.gmail.com>
Date: Sun, 9 Nov 2025 14:42:39 +0530
From: Deepanshu Kartikey <kartikey406@...il.com>
To: viro@...iv.linux.org.uk, brauner@...nel.org, jack@...e.cz
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+0b2e79f91ff6579bfa5b@...kaller.appspotmail.com
Subject: Re: [PATCH] fs/nsfs: skip dropping active refs on initial namespaces
Hi,
I'm sending a v2 of this patch with the following changes:
Changes in v2:
- Extended fix to nsproxy_ns_active_get() for consistency
- Added fix for nsfs_evict() to handle initial namespaces
- Updated commit message to reflect all three fixes
After analyzing the code further, I realized that nsproxy_ns_active_get()
has the same issue as nsproxy_ns_active_put() - both will trigger warnings
when operating on initial namespaces. The nsfs_evict() function also needs
the same check.
The v1 patch only fixed nsproxy_ns_active_put(), but for consistency and
completeness, all three functions should skip active reference counting
for initial namespaces.
Thanks,
Deepanshu
Powered by blists - more mailing lists