All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Ivan Shapovalov <intelfx100@gmail.com>, reiserfs-devel@vger.kernel.org
Subject: Re: [PATCH] reiser4: fix supported flags check in reiser4_rename2_common().
Date: Mon, 14 Sep 2015 09:55:00 +0200	[thread overview]
Message-ID: <55F67D54.3070009@gmail.com> (raw)
In-Reply-To: <1442197280-31580-1-git-send-email-intelfx100@gmail.com>

OK

On 09/14/2015 04:21 AM, Ivan Shapovalov wrote:
> ---
>
> This was left behind some time ago. I've just spotted a relevant warning.
>
>   fs/reiser4/plugin/inode_ops_rename.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/reiser4/plugin/inode_ops_rename.c b/fs/reiser4/plugin/inode_ops_rename.c
> index 6744e14..ddb7bf5 100644
> --- a/fs/reiser4/plugin/inode_ops_rename.c
> +++ b/fs/reiser4/plugin/inode_ops_rename.c
> @@ -435,7 +435,7 @@ int reiser4_rename2_common(struct inode *old_dir /* directory where @old
>   	 * We support:
>   	 * - RENAME_NOREPLACE (no-op)
>   	 */
> -	if (flags & supported_flags != flags)
> +	if ((flags & supported_flags) != flags)
>   		return RETERR(-EINVAL);
>   
>   	old_entry = kzalloc(3 * sizeof(*old_entry) + 2 * sizeof(*new_lh) +


      reply	other threads:[~2015-09-14  7:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14  2:21 [PATCH] reiser4: fix supported flags check in reiser4_rename2_common() Ivan Shapovalov
2015-09-14  7:55 ` Edward Shishkin [this message]

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=55F67D54.3070009@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=intelfx100@gmail.com \
    --cc=reiserfs-devel@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.