commit | d187663ef24cd3d033f0cbf2867e70b36a3a90b8 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Thu Jun 07 15:45:00 2012 -0700 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 14 16:32:46 2012 +0400 |
tree | a3efbbb2655fd932fa3f27888315b91b07bb0710 | |
parent | 3dd847820d138c9d60764b0e920380373285ff10 [diff] |
fs/direct-io.c: adjust suspicious bit operation READ is 0, so the result of the bit-and operation is 0. Rewrite with == as done elsewhere in the same file. This problem was found using Coccinelle (http://coccinelle.lip6.fr/). Signed-off-by: Julia Lawall <julia@diku.dk> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>