From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Lutomirski Subject: Re: [PATCH review 10/13] vfs: Generalize filesystem nodev handling. Date: Mon, 20 Jun 2016 15:57:09 -0700 Message-ID: References: <87fus77pns.fsf@x220.int.ebiederm.org> <20160620172130.15712-1-ebiederm@xmission.com> <20160620172130.15712-10-ebiederm@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160620172130.15712-10-ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Eric W. Biederman" Cc: Miklos Szeredi , Linux Containers , James Bottomley , Seth Forshee , Linux FS Devel , Djalal Harouni List-Id: containers.vger.kernel.org On Mon, Jun 20, 2016 at 10:21 AM, Eric W. Biederman wrote: > Introduce a function may_open_dev that tests MNT_NODEV and a new > superblock flab SB_I_NODEV. Use this new function in all of the > places where MNT_NODEV was previously tested. This would be nicer as two patches: one to refactor the check and the second to change the condition. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f41.google.com ([209.85.213.41]:35225 "EHLO mail-vk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbcFTW6N (ORCPT ); Mon, 20 Jun 2016 18:58:13 -0400 Received: by mail-vk0-f41.google.com with SMTP id j2so214793748vkg.2 for ; Mon, 20 Jun 2016 15:57:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160620172130.15712-10-ebiederm@xmission.com> References: <87fus77pns.fsf@x220.int.ebiederm.org> <20160620172130.15712-1-ebiederm@xmission.com> <20160620172130.15712-10-ebiederm@xmission.com> From: Andy Lutomirski Date: Mon, 20 Jun 2016 15:57:09 -0700 Message-ID: Subject: Re: [PATCH review 10/13] vfs: Generalize filesystem nodev handling. To: "Eric W. Biederman" Cc: Linux Containers , Linux FS Devel , Miklos Szeredi , James Bottomley , Djalal Harouni , Seth Forshee , "Serge E. Hallyn" Content-Type: text/plain; charset=UTF-8 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Jun 20, 2016 at 10:21 AM, Eric W. Biederman wrote: > Introduce a function may_open_dev that tests MNT_NODEV and a new > superblock flab SB_I_NODEV. Use this new function in all of the > places where MNT_NODEV was previously tested. This would be nicer as two patches: one to refactor the check and the second to change the condition.