[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAB5MrP4ZAe3Zw677eHBaMRsv9TugpEGpmMC_1v+Dm2GMo7CiNA@mail.gmail.com>
Date: Mon, 12 Jan 2026 10:09:04 -0800
From: Seamus Connor <sconnor@...estorage.com>
To: Ming Lei <ming.lei@...hat.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
Caleb Sander <csander@...estorage.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: fix ublksrv pid handling for pid namespaces
> Can we fix it in the following way?
>
> + struct pid *pid = find_vpid(ublksrv_pid);
> +
> + if (!pid || pid_nr(pid) != ub->ublksrv_tgid)
> + return -EINVAL;
Sure that makes sense. Let me try that out.
> Also your patch has patch style issue, please check it before posting out
> by `./scripts/checkpatch.pl`. Or you may have to use `git send-email` to
> send patch file.
Sorry about that.
Powered by blists - more mailing lists