summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2020-10-21 13:12:08 -0500
committerSteve French <stfrench@microsoft.com>2020-10-21 17:57:02 -0500
commit3c3317daef0afa0cd541fc9c1bfd6ce8bbf1129a (patch)
tree2548c9abb1ccf38b2be636d816f2ef4a6ca6e961 /fs/cifs/connect.c
parentdef6e1dc17816826fac94f6a5ce125fdee3231ae (diff)
downloadlinux-stable-3c3317daef0afa0cd541fc9c1bfd6ce8bbf1129a.tar.gz
linux-stable-3c3317daef0afa0cd541fc9c1bfd6ce8bbf1129a.tar.bz2
linux-stable-3c3317daef0afa0cd541fc9c1bfd6ce8bbf1129a.zip
smb3: fix stat when special device file and mounted with modefromsid
When mounting with modefromsid mount option, it was possible to get the error on stat of a fifo or char or block device: "cannot stat <filename>: Operation not supported" Special devices can be stored as reparse points by some servers (e.g. Windows NFS server and when using the SMB3.1.1 POSIX Extensions) but when the modefromsid mount option is used the client attempts to get the ACL for the file which requires opening with OPEN_REPARSE_POINT create option. Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Diffstat (limited to 'fs/cifs/connect.c')
0 files changed, 0 insertions, 0 deletions