From: Tao Ma Date: Sat, 13 Nov 2010 08:22:02 +0000 (+0800) Subject: ocfs2: Change some lock status member in ocfs2_lock_res to char. X-Git-Tag: v2.6.37-rc2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c66b360fe26204e2aa14e45086b4a6b8890b1a2;p=pandora-kernel.git ocfs2: Change some lock status member in ocfs2_lock_res to char. Commit 83fd9c7 changes l_level, l_requested and l_blocking of ocfs2_lock_res from int to unsigned char. But actually it is initially as -1(ocfs2_lock_res_init_common) which correspoding to 255 for unsigned char. So the whole dlm lock mechanism doesn't work now which means a disaster to ocfs2. Cc: Goldwyn Rodrigues Signed-off-by: Tao Ma Signed-off-by: Joel Becker --- Reading git-diff-tree failed