Skip to content
Commit 404e7812 authored by Dan Carpenter's avatar Dan Carpenter Committed by Al Viro
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 26562449
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment