diff options
| author | Christian Brauner <[email protected]> | 2023-05-03 11:18:39 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-05-19 02:30:07 +0000 |
| commit | 78aa08a8cab6731ab8f8241a9eb0b5021a648dd6 (patch) | |
| tree | 688281ea7e38f8179ddabc48c20dcaa082b832e7 /lib/string_helpers.c | |
| parent | Linux 6.4-rc2 (diff) | |
| download | kernel-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
