aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2023-05-03 11:18:39 +0000
committerChristian Brauner <[email protected]>2023-05-19 02:30:07 +0000
commit78aa08a8cab6731ab8f8241a9eb0b5021a648dd6 (patch)
tree688281ea7e38f8179ddabc48c20dcaa082b832e7 /lib/string_helpers.c
parentLinux 6.4-rc2 (diff)
downloadkernel-78aa08a8cab6731ab8f8241a9eb0b5021a648dd6.tar.gz
kernel-78aa08a8cab6731ab8f8241a9eb0b5021a648dd6.zip
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) <[email protected]> Message-Id: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions