From: Julia Lawall Date: Thu, 7 Jun 2012 22:45:00 +0000 (-0700) Subject: fs/direct-io.c: adjust suspicious bit operation X-Git-Tag: v3.6-rc1~152^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d187663ef24cd3d033f0cbf2867e70b36a3a90b8;p=pandora-kernel.git 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 Reviewed-by: Jeff Moyer Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed