summaryrefslogtreecommitdiff
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-06-07 16:55:35 +0200
committerChristian Brauner <brauner@kernel.org>2024-06-28 09:52:05 +0200
commitff2c570ef7eaa9ded58e7a02dd7a68874a897508 (patch)
tree51356b4b7d9a8dc7061ae24168fa03f21cee9080 /fs/namespace.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
path: add cleanup helper
Add a simple cleanup helper so we can cleanup struct path easily. No need for any extra machinery. Avoid DEFINE_FREE() as it causes a local copy of struct path to be used. Just rely on path_put() directly called from a cleanup helper. Link: https://lore.kernel.org/r/20240607-vfs-listmount-reverse-v1-2-7877a2bfa5e5@kernel.org Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions