Skip to content
Unverified Commit 78aa08a8 authored by Christian Brauner's avatar Christian Brauner
Browse files

fs: add path_mounted()



Add a small helper to check whether a path refers to the root of the
mount instead of open-coding this everywhere.

Reviewed-by: default avatarSeth Forshee (DigitalOcean) <sforshee@kernel.org>
Message-Id: <20230202-fs-move-mount-replace-v4-1-98f3d80d7eaa@kernel.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent f1fcbaa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment