Skip to content

mount: add "nosymfollow" support to new mount api

Christian Brauner linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mount: Support "nosymfollow" in new mount apifs/namespace.c include/uapi/linux/mount.h+7 -31 reply
2/2tests: test MOUNT_ATTR_NOSYMFOLLOW with mount_setattr()tools/testing/selftests/mount_setattr/mount_setattr_test.c+85 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRoss Zwisler
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mount: add "nosymfollow" support to new mount api

From: Christian Brauner <[email protected]>

Hey,

When we introduced "nosymfollow" we didn't add support for it to the new mount api. Fix that so users making use of the new mount api can specifiy it in fsmount() and mount_setattr().

This also adds tests.
This is obviously v5.14 material without the need to rush. This can be found at:

https://git.kernel.org/brauner/h/fs.mount_setattr.nosymfollow

Thanks!
Christian

Christian Brauner (2):
mount: Support "nosymfollow" in new mount api
tests: test MOUNT_ATTR_NOSYMFOLLOW with mount_setattr()

 fs/namespace.c                                |  9 +-
 include/uapi/linux/mount.h                    |  1 +
 .../mount_setattr/mount_setattr_test.c        | 88 ++++++++++++++++++-
 3 files changed, 92 insertions(+), 6 deletions(-)

base-commit: 8124c8a6b35386f73523d27eacb71b5364a68c4c

Signature · 1 line
2.27.0