cifs: Add mount option -o reparse=none
authorPali Rohár <pali@kernel.org>
Sat, 21 Sep 2024 14:15:30 +0000 (16:15 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 29 Jan 2025 23:35:38 +0000 (17:35 -0600)
commit78f69467cbbfd24da5ce9917c4b738b38a615f8b
treea35daf3ee26627e76ce917140fd9908bc5c6abf1
parent660618dde2b4c372132a6be62f11ab68a0a1571a
cifs: Add mount option -o reparse=none

This new mount option allows to completely disable creating new reparse
points. When -o sfu or -o mfsymlinks or -o symlink= is not specified then
creating any special file (fifo, socket, symlink, block and char) will fail
with -EOPNOTSUPP error.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsglob.h
fs/smb/client/fs_context.c
fs/smb/client/fs_context.h