Received: by 10.223.164.221 with SMTP id h29csp236772wrb; Tue, 10 Oct 2017 22:02:11 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBWtGnds0Hv9gH/Q2SuxY5py8Yq0mkH0MdHQt+xhH1y1qC7j8Lj8VXao9mZT/3ChVLLf7UH X-Received: by 10.101.88.203 with SMTP id e11mr12866169pgu.173.1507698131117; Tue, 10 Oct 2017 22:02:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507698131; cv=none; d=google.com; s=arc-20160816; b=fFezSCTQQdpR4EEnzjbh/bVHGL7YR20zwZdEv1B46NnYa/T3JDCE09g4jY++N/IA84 YGPnGZi4y3LtKjWO1bjXAyzWThdgQzBNpRTm9M2RRwBmIx9uwf44V9wCzMm+OK27GyzU eqUoaL2Z7km3293Atzcpcm/dB7vWXe1+CgatRQNGZR96tgX5rrbJegiihLmI97Yf9MpJ xa5FDYIwHWQ9B2IBBbIzt+v50PTPs3B5eKggriEkXVCXAQwzJmpC0r5Qc4CYC1wgaaYV b1q3dJ3O0kQ0kvVTJysifGD3AKBc+zTTrZ8jXxXwMxqCgj2Ot6LyJXomjV+Lev/ejlm3 DaAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=pbLX4MKGm07rpKlqbFDb3Gy+smkHhb2mV4AKIJeR0i0=; b=cG6VTdyJLYWypMsr08BkNbTulHsfilW7xqEaAj5XDlSA6OHjBb9f6FJO0JtDOKwsXi 4z5n0LqpJnW8X/GiyzNpuDVZcmaPNF+YYTpmUfWsZAE9CiXYkSPp9XXVRLnraVnDnWvJ gYlVGBW/Cf0ybJ7AuY1Hx1SxjEPxtOnGjwvAmXmYFHyJgCIZCzYWn5EzmW5QtURT3gBM fFdZdtWKUe5HTsx04/Tk8yAVc9Actl+M/G1i24k8QYbz2jIYibxnaZnOBz5ZWLJJQGfn RRdhNhm1J5jayWV1gPVIdjMVxGk3QyCjmVPSCwJFD0xah13hdcedDZA3zoTaARORtA6b vBGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@trippelsdorf.de header.s=k1 header.b=eFQRcMO7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si4909000plq.795.2017.10.10.22.01.56; Tue, 10 Oct 2017 22:02:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@trippelsdorf.de header.s=k1 header.b=eFQRcMO7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756783AbdJKFBf (ORCPT + 99 others); Wed, 11 Oct 2017 01:01:35 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:59296 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718AbdJKFBd (ORCPT ); Wed, 11 Oct 2017 01:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=trippelsdorf.de; h=date :from:to:cc:subject:message-id:mime-version:content-type; s=k1; bh=gODI59QvLBxDWZWrQthWcE1qB1wLZ/sRPLtaOTQ2bZ8=; b=eFQRcMO7XmcD 1t/hdyEIQtxFQb8fvmdyfvQBWLb3HucjIHmYMcG//d6/kM0hmRqERzKV9DRHQ7Ck +fbEgZUBkDtw87cAWzzfcAFRoLG9MmZzWyS/fKtrM4wWhvJRSsjgsIqJvlyPHd6z N+8YlHWmLpopBs5ePYSSpn6KnVkip5A= Received: (qmail 29860 invoked from network); 11 Oct 2017 07:01:31 +0200 Received: from ip5b405f48.dynamic.kabel-deutschland.de (HELO x4) (ud10?360p3@91.64.95.72) by mail.ud10.udmedia.de with ESMTPSA (ECDHE-RSA-AES256-SHA encrypted, authenticated); 11 Oct 2017 07:01:31 +0200 Date: Wed, 11 Oct 2017 07:01:31 +0200 From: Markus Trippelsdorf To: Alexander Viro Cc: Andreas Dilger , linux-ext4@vger.kernel.org, Theodore Ts'o , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells , Lukas Czerner Subject: [PATCH] VFS: Handle lazytime in do_mount() Message-ID: <20171011050131.GB13028@x4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit e462ec50cb5fa ("VFS: Differentiate mount flags (MS_*) from internal superblock flags") the lazytime mount option doesn't get passed on anymore. Fix the issue by handling the option in do_mount(). Reviewed-by: Lukas Czerner Signed-off-by: Markus Trippelsdorf --- fs/namespace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/namespace.c b/fs/namespace.c index 54059b142d6b..b633838b8f02 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2823,7 +2823,8 @@ long do_mount(const char *dev_name, const char __user *dir_name, SB_MANDLOCK | SB_DIRSYNC | SB_SILENT | - SB_POSIXACL); + SB_POSIXACL | + SB_LAZYTIME); if (flags & MS_REMOUNT) retval = do_remount(&path, flags, sb_flags, mnt_flags, -- Markus From 1584185686447532331@xxx Thu Nov 16 01:53:21 +0000 2017 X-GM-THRID: 1584055533595068141 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread