diff options
| author | Julia Lawall <[email protected]> | 2012-06-07 22:45:00 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-07-14 12:32:46 +0000 |
| commit | d187663ef24cd3d033f0cbf2867e70b36a3a90b8 (patch) | |
| tree | a3efbbb2655fd932fa3f27888315b91b07bb0710 /fs/fs_struct.c | |
| parent | affs: get rid of affs_sync_super (diff) | |
| download | kernel-d187663ef24cd3d033f0cbf2867e70b36a3a90b8.tar.gz kernel-d187663ef24cd3d033f0cbf2867e70b36a3a90b8.zip | |
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 <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions
