lkml.org 
[lkml]   [2015]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs/super.c: use && instead of & for warn_on condition
On Mon, 21 Sep 2015, Oleg Nesterov wrote:

> > --- a/fs/super.c
> > +++ b/fs/super.c
> > @@ -1199,7 +1199,7 @@ int __sb_start_write(struct super_block *sb, int level, bool wait)
> > else
> > ret = percpu_down_read_trylock(sb->s_writers.rw_sem + level-1);
> >
> > - WARN_ON(force_trylock & !ret);
> > + WARN_ON(force_trylock && !ret);
>
> OOPS! yes, this is a typo, thanks! Harmless in this particular case,
> but still.
>
> Acked-by: Oleg Nesterov <oleg@redhat.com>

Doesn't seem to be in linux-next as of today, so I am taking it now.
Thanks,

--
Jiri Kosina
SUSE Labs



\
 
 \ /
  Last update: 2015-12-08 15:01    [W:0.051 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site