From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leif Sahlberg Subject: Re: [PATCH] cifs: show 'soft' in the mount options for !hard mounts Date: Tue, 19 Sep 2017 23:31:27 -0400 (EDT) Message-ID: <432517654.8084328.1505878287402.JavaMail.zimbra@redhat.com> References: <20170920030923.23453-1-lsahlber@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-cifs To: Steve French Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: NFS does the same, well except for the fact that 'hard' is default in that land. NFS: Mount with 'hard' : mount shows ',hard' Mount with 'soft' : mount shows ',soft' Mount with default : mount shows ',hard' ----- Original Message ----- From: "Steve French" To: "Ronnie Sahlberg" Cc: "linux-cifs" Sent: Wednesday, 20 September, 2017 1:25:52 PM Subject: Re: [PATCH] cifs: show 'soft' in the mount options for !hard mounts What does NFS do - does it show both "soft" and "hard"? On Tue, Sep 19, 2017 at 10:22 PM, Steve French wrote: > Opinions on stable? > > On Sep 19, 2017 8:09 PM, "Ronnie Sahlberg" wrote: >> >> Signed-off-by: Ronnie Sahlberg >> --- >> fs/cifs/cifsfs.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c >> index 180b3356ff86..a864e6575309 100644 >> --- a/fs/cifs/cifsfs.c >> +++ b/fs/cifs/cifsfs.c >> @@ -461,6 +461,8 @@ cifs_show_options(struct seq_file *s, struct dentry >> *root) >> seq_puts(s, ",nocase"); >> if (tcon->retry) >> seq_puts(s, ",hard"); >> + else >> + seq_puts(s, ",soft"); >> if (tcon->use_persistent) >> seq_puts(s, ",persistenthandles"); >> else if (tcon->use_resilient) >> -- >> 2.13.3 >> > -- Thanks, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html