From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 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: 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