Received: by 10.223.164.202 with SMTP id h10csp908487wrb; Fri, 17 Nov 2017 10:35:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMb7YIC/l3GOw2YoG4HAUH3GpjoTDqj54LBZESFww4aOtmIKv5HGnyA1GEOXpQIkL41aJEqs X-Received: by 10.99.181.6 with SMTP id y6mr5849937pge.270.1510943709824; Fri, 17 Nov 2017 10:35:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510943709; cv=none; d=google.com; s=arc-20160816; b=RaWhD0e9E4W+Ki3bCDAixjybbAr8QkeKgFDZvCHQZS6ZjwFRb6+hlB+NcXopUZZRvM lP5+rBfEcmPz/t2fxXVchM1GW6b59fsDmBlynqgs7PYRrcz5DvIwAc5/p27rY4st31Fv oaGUVLxCnrW2DUMjiadDeVXU4h3errPOUf4lQcpxw1I6+Fz38q5wH9iBlNzlyXzOIFdW w5davPSKFl15WQ3kaRAaWTPnghzWjEw15YOpeNPj5SdnMG8ZNALnP5n1LvqGm97xLFme pFy0w5fuNDDPycZc9LyssS/JdtYfNFn9zQFvDYwlOIYEmq5erP4A3w55EAMeimZ3kWgn 5MhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=6fxVVR5/97OIk8LdqrLMiQdXBj397Lyn5FLd3AmtxMg=; b=UwE1vgh71sX6Jva41x5eeI3SgTgNU0tWINLYhuWuIuvhzanvw3HiPrIcbdtf9LX+57 breP7A6JFFmHhpTB/QFsrWQ+cIU3NmcoxxB53+yAAxk3BZ/6banXpP76+R6rQV3yjIJR BfCtv5Y5iJ61g1FUi8SfbSlCkC+//mf/+Mslh7KICGZq3kBJptGC0uuQIxeujd2zdnFd wGR/ojSr2+eK+rPdrbyigZ1cFMVj5xetla0aFCGFYJ+iHnOFauOZu4D9xSEIFWB7UotA G8AjEkJ88PoPtWxHNRS8CJStERp/Yg59QCbBsJx/PWBynW6BxJtcQIcrJD3c3XOHkEYn nYzw== ARC-Authentication-Results: i=1; mx.google.com; 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 e15si3086078pgr.15.2017.11.17.10.34.56; Fri, 17 Nov 2017 10:35:09 -0800 (PST) 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; 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 S932659AbdKQMJe (ORCPT + 93 others); Fri, 17 Nov 2017 07:09:34 -0500 Received: from mx2.suse.de ([195.135.220.15]:35405 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932562AbdKQMJ0 (ORCPT ); Fri, 17 Nov 2017 07:09:26 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0A6F9AC08; Fri, 17 Nov 2017 12:09:25 +0000 (UTC) Subject: Re: [PATCH] VFS: Handle lazytime in do_mount() To: Markus Trippelsdorf , 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 References: <20171011050131.GB13028@x4> From: Goldwyn Rodrigues Message-ID: Date: Fri, 17 Nov 2017 06:09:21 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171011050131.GB13028@x4> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/11/2017 12:01 AM, Markus Trippelsdorf wrote: > 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 Reviewed-by: Goldwyn Rodrigues > --- > 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, > -- Goldwyn From 1580936075669604190@xxx Wed Oct 11 05:02:11 +0000 2017 X-GM-THRID: 1580936075669604190 X-Gmail-Labels: Inbox,Category Forums