diff options
author | Christian Brauner <brauner@kernel.org> | 2023-05-03 13:18:39 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-05-19 04:30:07 +0200 |
commit | 78aa08a8cab6731ab8f8241a9eb0b5021a648dd6 (patch) | |
tree | 688281ea7e38f8179ddabc48c20dcaa082b832e7 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff) |
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: Seth Forshee (DigitalOcean) <sforshee@kernel.org>
Message-Id: <20230202-fs-move-mount-replace-v4-1-98f3d80d7eaa@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions