From patchwork Thu Feb 20 06:02:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 11393395 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 72F80138D for ; Thu, 20 Feb 2020 06:02:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A9F32465D for ; Thu, 20 Feb 2020 06:02:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YVQbzqV7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725942AbgBTGCe (ORCPT ); Thu, 20 Feb 2020 01:02:34 -0500 Received: from mail-il1-f169.google.com ([209.85.166.169]:41239 "EHLO mail-il1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbgBTGCe (ORCPT ); Thu, 20 Feb 2020 01:02:34 -0500 Received: by mail-il1-f169.google.com with SMTP id f10so22695733ils.8 for ; Wed, 19 Feb 2020 22:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KxsmKEiTS88kyWKQdpasQktV17phbtF1I5mwS48S9uA=; b=YVQbzqV7NvDXfk0E8OaJLuCqwVpOMtjM0013ide3ZLnXH4spXbNrbhpGIvfbldo33E AaE8KIYdQ+inH85hEUMLUK6HwnrqNTiykt/X8MngTTqcG+vguur1JrdOF3I0JTeajyfZ LWGzq94lGC9FtMPny0pHD6HfoA0uqh8VqCHGXgmNSchGgncbEFplzoa2/XoYzUqNwiJq mf4yCetqtsL4xA2E1ikRYel7OSc7QPh8RPqK35fpOuCWUZe+SPhpZjBvFzYTWufURVa8 ZreyTphhagwWrREQlxyRNbJHdwxzmA8F7YCKJER+m27VdVVKgZXnARuMfOkwkL6zbO8y aK/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KxsmKEiTS88kyWKQdpasQktV17phbtF1I5mwS48S9uA=; b=olVH1WceGN9qiT2z+uPOlAZMp/stk15aTjEa3HqtJLmxPOnbSIu6ilftWBiFWw58Lo 97yiMaxzOOv6yKrJP7ROtit7cnZNSbONjA0hKm3/hcI+Xny1DSjRVK0NI4phqfc3A4Im aG2RrpUJbZaAot4jYvp6KIHxWGF8yfLcyQjOu4HK51XhNmJo9ePZh+d5rOyKKBHmfGiO O5YiITq9x1wXqG5vEjizUg4BW/HhWRBi05FLcNh0Z2h/MZVLeNIuTUUyZykdFUp6U2+f Soy/MiyZlRp8ejfWDlNKP2JXNXzS59TyRpEPbV+VHPTacACSiNj59vsCgtYz3Jimztx+ Ap4g== X-Gm-Message-State: APjAAAXSWrjjA7Zm8gprgjR7YtKrGdc7WTx8x456r1ztI1B4YQe7xh5t AXdwvKNSn977ygtlrCcDin5VlyAv3XGscvzQphLZs31/ X-Google-Smtp-Source: APXvYqxIYXqihUcgBsuPLM5WXdiE2J8/+68JiTS8z51LVtaMYsgOMIE/0kW8bpt9ymwuTkgp8YQCY1aZD5Pk0yj2nKA= X-Received: by 2002:a92:9a90:: with SMTP id c16mr27302812ill.3.1582178553683; Wed, 19 Feb 2020 22:02:33 -0800 (PST) MIME-Version: 1.0 From: Steve French Date: Thu, 20 Feb 2020 00:02:22 -0600 Message-ID: Subject: [PATCH] [CIFS] Add missing mount option 'signloosely' to what is displayed in /proc/mounts To: CIFS Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org We were not displaying the mount option "signloosely" in /proc/mounts for cifs mounts which some users found confusing recently Reviewed-by: Aurelien Aptel From 45bf68584ce937936fe07d22a72b21ba4786f174 Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 19 Feb 2020 23:59:32 -0600 Subject: [PATCH] cifs: add missing mount option to /proc/mounts We were not displaying the mount option "signloosely" in /proc/mounts for cifs mounts which some users found confusing recently Signed-off-by: Steve French --- fs/cifs/cifsfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 46ebaf3f0824..fa77fe5258b0 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -530,6 +530,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root) if (tcon->seal) seq_puts(s, ",seal"); + else if (tcon->ses->server->ignore_signature) + seq_puts(s, ",signloosely"); if (tcon->nocase) seq_puts(s, ",nocase"); if (tcon->local_lease) -- 2.20.1