commit | 228ac6357718df2d5c8d70210fa51b2225aab5ee | [log] [tgz] |
---|---|---|
author | Tristan Ye <tristan.ye@oracle.com> | Fri Sep 10 10:16:33 2010 +0800 |
committer | Joel Becker <joel.becker@oracle.com> | Fri Sep 10 09:19:30 2010 -0700 |
tree | 4aaf7f05d03a5757b6c128d433c220b55d89fd88 | |
parent | 0f4da216b8c3c35c90ecd18e1899c6f125957c2b [diff] |
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 <tristan.ye@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>