OSDN Git Service

smb3: add some more descriptive messages about share when mounting cache=ro
authorSteve French <stfrench@microsoft.com>
Fri, 30 Aug 2019 03:33:38 +0000 (22:33 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:37 +0000 (11:43 -0500)
commit1981ebaabd88a9b3e550b6163c570a498c32a1f5
treefac060a88a7ec38d9cebbcfd0919387d0b734110
parent83bbfa706dda668deb60e96df20327fc79e1716f
smb3: add some more descriptive messages about share when mounting cache=ro

Add some additional logging so the user can see if the share they
mounted with cache=ro is considered read only by the server

CIFS: Attempting to mount //localhost/test
CIFS VFS: mounting share with read only caching. Ensure that the share will not be modified while in use.
CIFS VFS: read only mount of RW share

CIFS: Attempting to mount //localhost/test-ro
CIFS VFS: mounting share with read only caching. Ensure that the share will not be modified while in use.
CIFS VFS: mounted to read only share

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/connect.c