From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 078B3C433DF for ; Tue, 7 Jul 2020 15:21:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE9D32065D for ; Tue, 7 Jul 2020 15:21:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594135312; bh=7nBm4SfNKh/CsEMTp3QVeT67mBM09UoMVBQvBLt5xQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=oSDBKyS8qhVOBObTj2BtP1t7UEe2LON+1RA5OuybvqfB/ZL1wlmqJ3fRxuB8vG3eQ PRv+SN9VzZ2kAT7Xtk9JW09C7yRNRiwKLNopbT4nsOhjOsdqSxPigZJGWu4AMYqAlR 2si7yqpuzRmftif15pJZu9byq4QF/RjmO4pVW+XI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729156AbgGGPVv (ORCPT ); Tue, 7 Jul 2020 11:21:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:33940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729738AbgGGPVl (ORCPT ); Tue, 7 Jul 2020 11:21:41 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E98BB2065D; Tue, 7 Jul 2020 15:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594135301; bh=7nBm4SfNKh/CsEMTp3QVeT67mBM09UoMVBQvBLt5xQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r4BuTpIKu4LXsTB5Dcq3R/sjg4vpCmEbARmSMfSWly2Bio9iC8FVevYTisjKy69IE S8pGwp+FL9ROL1KiG4TFaFZHUfULdvlItqmtMJDRK88gYdnPn4i2ekOwai7wbICCFB aqx9yL2snrxTaxn/DpJuV8E8l1OGs48jwIBnzJB4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Aurich , Steve French , Aurelien Aptel Subject: [PATCH 5.4 52/65] SMB3: Honor handletimeout flag for multiuser mounts Date: Tue, 7 Jul 2020 17:17:31 +0200 Message-Id: <20200707145754.969093176@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200707145752.417212219@linuxfoundation.org> References: <20200707145752.417212219@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Aurich commit 6b356f6cf941d5054d7fab072cae4a5f8658e3db upstream. Fixes: ca567eb2b3f0 ("SMB3: Allow persistent handle timeout to be configurable on mount") Signed-off-by: Paul Aurich CC: Stable Signed-off-by: Steve French Reviewed-by: Aurelien Aptel Signed-off-by: Greg Kroah-Hartman --- fs/cifs/connect.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -5284,6 +5284,7 @@ cifs_construct_tcon(struct cifs_sb_info vol_info->no_lease = master_tcon->no_lease; vol_info->resilient = master_tcon->use_resilient; vol_info->persistent = master_tcon->use_persistent; + vol_info->handle_timeout = master_tcon->handle_timeout; vol_info->no_linux_ext = !master_tcon->unix_ext; vol_info->linux_ext = master_tcon->posix_extensions; vol_info->sectype = master_tcon->ses->sectype;