summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-06-29 16:06:15 -0500
committerSteve French <stfrench@microsoft.com>2018-08-07 14:15:56 -0500
commit8a69e96e610b3ec8a55f6fd4e44363452838caa7 (patch)
treef1ce27d75229626abf1202da8da9dda493bda660 /fs/cifs/smb2pdu.c
parentc3ed44026cd07fda5976ecb79225759901a160b4 (diff)
downloadlinux-stable-8a69e96e610b3ec8a55f6fd4e44363452838caa7.tar.gz
linux-stable-8a69e96e610b3ec8a55f6fd4e44363452838caa7.tar.bz2
linux-stable-8a69e96e610b3ec8a55f6fd4e44363452838caa7.zip
smb3: snapshot mounts are read-only and make sure info is displayable about the mount
snapshot mounts were not marked as read-only and did not display the snapshot time (in /proc/mounts) specified on mount With this patch - note that can not write to the snapshot mount (see "ro" in /proc/mounts line) and also the missing snapshot timewarp token time is dumped. Sample line from /proc/mounts with the patch: //127.0.0.1/scratch /mnt2 smb3 ro,relatime,vers=default,cache=strict,username=testuser,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,noperm,rsize=1048576,wsize=1048576,echo_interval=60,snapshot=1234567,actimeo=1 0 0 Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions