From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 26 Mar 2016 00:43:32 +0000 From: Al Viro To: Yaowei Bai Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs/vfs: improve __mnt_is_readonly Message-ID: <20160326004332.GM17997@ZenIV.linux.org.uk> References: <1458871286-3099-1-git-send-email-baiyaowei@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458871286-3099-1-git-send-email-baiyaowei@cmss.chinamobile.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Fri, Mar 25, 2016 at 10:01:26AM +0800, Yaowei Bai wrote: > This patch refactors __mnt_is_readonly and makes it return bool to > improve readability due to this particular function only using either > one or zero as its return value. Improve in which way, if I may ask?