All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fs/vfs: improve __mnt_is_readonly
Date: Sat, 26 Mar 2016 00:43:32 +0000	[thread overview]
Message-ID: <20160326004332.GM17997@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1458871286-3099-1-git-send-email-baiyaowei@cmss.chinamobile.com>

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?

  reply	other threads:[~2016-03-26  0:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25  2:01 [PATCH] fs/vfs: improve __mnt_is_readonly Yaowei Bai
2016-03-26  0:43 ` Al Viro [this message]
2016-03-29  6:35   ` Yaowei Bai
2016-03-29  9:43     ` Richard Weinberger
2016-03-30  1:23       ` Yaowei Bai
2016-03-30  7:30         ` Richard Weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160326004332.GM17997@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=baiyaowei@cmss.chinamobile.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.