]> Git Repo - linux.git/commit - fs/sysv/dir.c
fs/sysv: dereferencing ERR_PTR()
authorDan Carpenter <[email protected]>
Wed, 21 Apr 2010 10:30:32 +0000 (12:30 +0200)
committerAl Viro <[email protected]>
Sat, 15 May 2010 11:16:33 +0000 (07:16 -0400)
commit404e781249f003a37a140756fc4aeae463dcb217
tree5eb0f81657ebecdd747583df54a261a4e305df3f
parent265624495f5acf6077f8f8d264f8170573d8d752
fs/sysv: dereferencing ERR_PTR()

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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/sysv/dir.c
This page took 0.055683 seconds and 4 git commands to generate.