diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-12-05 18:01:24 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-05 19:32:59 +0100 |
commit | 27d7c2a006a81c04fab00b8cd81b99af3b32738d (patch) | |
tree | d04b7860b79d70b5c1ebedc964ffa1cc8fee261e /include/math-emu | |
parent | Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/l... (diff) | |
download | linux-27d7c2a006a81c04fab00b8cd81b99af3b32738d.tar.xz linux-27d7c2a006a81c04fab00b8cd81b99af3b32738d.zip |
vfs: clear to the end of the buffer on partial buffer reads
READ is zero so the "rw & READ" test is always false. The intended test
was "((rw & RW_MASK) == READ)".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions