diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-21 12:30:32 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-15 07:16:33 -0400 |
commit | 404e781249f003a37a140756fc4aeae463dcb217 (patch) | |
tree | 5eb0f81657ebecdd747583df54a261a4e305df3f /fs/jfs/super.c | |
parent | 265624495f5acf6077f8f8d264f8170573d8d752 (diff) | |
download | linux-404e781249f003a37a140756fc4aeae463dcb217.tar.gz linux-404e781249f003a37a140756fc4aeae463dcb217.tar.bz2 linux-404e781249f003a37a140756fc4aeae463dcb217.zip |
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 <error27@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs/super.c')
0 files changed, 0 insertions, 0 deletions