On Tue, Jun 01, 2021 at 03:55:14PM +0200, Christian Brauner wrote: > From: Christian Brauner <christian.brauner@xxxxxxxxxx> > > Commit dab741e0e02b ("Add a "nosymfollow" mount option.") added support > for the "nosymfollow" mount option allowing to block following symlinks > when resolving paths. The mount option so far was only available in the > old mount api. Make it available in the new mount api as well. Bonus is > that it can be applied to a whole subtree not just a single mount. > > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Mattias Nissler <mnissler@xxxxxxxxxxxx> > Cc: Aleksa Sarai <cyphar@xxxxxxxxxx> > Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > Cc: Ross Zwisler <zwisler@xxxxxxxxxx> > Signed-off-by: Christian Brauner <christian.brauner@xxxxxxxxxx> Reviewed-by: Ross Zwisler <zwisler@xxxxxxxxxx>