https://github.com/torvalds/linux
Revision 27d7c2a006a81c04fab00b8cd81b99af3b32738d authored by Dan Carpenter on 05 December 2012, 17:01:24 UTC, committed by Linus Torvalds on 05 December 2012, 18:32:59 UTC
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>
1 parent df2fc24
History
Tip revision: 27d7c2a006a81c04fab00b8cd81b99af3b32738d authored by Dan Carpenter on 05 December 2012, 17:01:24 UTC
vfs: clear to the end of the buffer on partial buffer reads
Tip revision: 27d7c2a
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 224.8 KB
Makefile -rw-r--r-- 46.7 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top