From: Dan Carpenter Date: Wed, 21 Apr 2010 10:30:32 +0000 (+0200) Subject: fs/sysv: dereferencing ERR_PTR() X-Git-Tag: v2.6.34~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404e781249f003a37a140756fc4aeae463dcb217;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed