fs/super.c: use && instead of & for warn_on condition
authorVincent Stehlé <vincent.stehle@freescale.com>
Mon, 21 Sep 2015 15:18:34 +0000 (17:18 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 8 Dec 2015 13:50:57 +0000 (14:50 +0100)
commit22224a17587c90e25371e7d07c079548359b2039
treeb9dc29b68a83375d3063a8713a879f3c682b024f
parentd83e2a4ea2296620e8f6cb724e60190826c43a3f
fs/super.c: use && instead of & for warn_on condition

This fixes the following sparse warning:

  fs/super.c:1202:9: warning: dubious: x & !y

Bitwise and logical and are equivalent here, but logical was intended.
The generated code is identical, with and without CONFIG_LOCKDEP.

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
fs/super.c