reviewed by lsahlber@xxxxxxxxxx On Fri, Aug 30, 2019 at 1:40 PM Steve French <smfrench@xxxxxxxxx> wrote: > > Make it easier to tell if the share we are mounting with cache=ro is > considered read only by the server. Obviously there are cases where > the user could know that no one will be writing to the share but this > additional information could be helpful. > > $ dmesg > [374786.661113] CIFS: Attempting to mount //localhost/test > [374786.661130] CIFS VFS: mounting share with read only caching. > Ensure that the share will not be modified while in use. > [374786.662199] CIFS VFS: read only mount of RW share > > [374793.473091] CIFS: Attempting to mount //localhost/test-ro > [374793.473109] CIFS VFS: mounting share with read only caching. > Ensure that the share will not be modified while in use. > [374793.474266] CIFS VFS: mounted to read only share > > > -- > Thanks, > > Steve