Re: [PATCH v2 1/1] statmount: accept fd as a parameter

Miklos Szeredi
2025-10-22T16:33:10Z

On Sat, 11 Oct 2025 at 14:48, Bhavik Sachdev <b.sachdev1904@gmail.com> wrote:
>
> Extend `struct mnt_id_req` to take in a fd and introduce STATMOUNT_FD
> flag. When a valid fd is provided and STATMOUNT_FD is set, statmount
> will return mountinfo about the mount the fd is on.

What's wrong with statx + statmount?

Thanks,
Miklos