https://github.com/torvalds/linux
Revision 404e781249f003a37a140756fc4aeae463dcb217 authored by Dan Carpenter on 21 April 2010, 10:30:32 UTC, committed by Al Viro on 15 May 2010, 11:16:33 UTC
I moved the dir_put_page() inside the if condition so we don't dereference
"page", if it's an ERR_PTR().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 2656244
History
Tip revision: 404e781249f003a37a140756fc4aeae463dcb217 authored by Dan Carpenter on 21 April 2010, 10:30:32 UTC
fs/sysv: dereferencing ERR_PTR()
Tip revision: 404e781
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-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 166.4 KB
Makefile -rw-r--r-- 51.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top