From: Tristan Ye Date: Fri, 10 Sep 2010 02:16:33 +0000 (+0800) Subject: Ocfs2: Handle empty list in lockres_seq_start() for dlmdebug.c X-Git-Tag: v2.6.36-rc6~36^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=228ac6357718df2d5c8d70210fa51b2225aab5ee;p=pandora-kernel.git Ocfs2: Handle empty list in lockres_seq_start() for dlmdebug.c This patch tries to handle the case in which list 'dlm->tracking_list' is empty, to avoid accessing an invalid pointer. It fixes the following oops: http://oss.oracle.com/bugzilla/show_bug.cgi?id=1287 Signed-off-by: Tristan Ye Signed-off-by: Joel Becker --- Reading git-diff-tree failed