Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753176AbcCGJyq (ORCPT ); Mon, 7 Mar 2016 04:54:46 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:36759 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752991AbcCGJuO (ORCPT ); Mon, 7 Mar 2016 04:50:14 -0500 MIME-Version: 1.0 X-Originating-IP: [217.173.44.24] In-Reply-To: <20150629171856.15730.58271.stgit@buzz> References: <20150629171856.15730.58271.stgit@buzz> Date: Mon, 7 Mar 2016 10:50:13 +0100 Message-ID: Subject: Re: [PATCH 1/4] ovl: honor flag MS_SILENT at mount From: Miklos Szeredi To: Konstantin Khlebnikov Cc: Linux-Fsdevel , Kernel Mailing List , Alexander Viro , "linux-unionfs@vger.kernel.org" , LSM Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 418 Lines: 12 On Mon, Jun 29, 2015 at 7:18 PM, Konstantin Khlebnikov wrote: > This patch hides error about missing lowerdir if MS_SILENT is set. > > We use mount(NULL, "/", "overlay", MS_SILENT, NULL) for testing support of > overlayfs: syscall returns -ENODEV if it's not supported. Otherwise kernel > automatically loads module and returns -EINVAL because lowerdir is missing. Queued. Thanks, Miklos