ocfs2: char is not always signed
authorMilton Miller <miltonm@bga.com>
Thu, 18 Nov 2010 04:20:11 +0000 (22:20 -0600)
committerJoel Becker <joel.becker@oracle.com>
Thu, 18 Nov 2010 22:10:56 +0000 (14:10 -0800)
commita2a2f55291918f6cf9287d7beaecc7bc007a9f1c
tree8fd82a27d2a90e302edcb0ce443b12913615cab2
parent1989a80a60d2f620bad99196d6c1801c2afd7c71
ocfs2: char is not always signed

Commit 1c66b360fe262 (Change some lock status member in ocfs2_lock_res
to char.)  states that these fields need to be signed due to comparision
to -1, but only changed the type from unsigned char to char.   However, it
is a compiler option if char is a signed or unsigned type.  Change these
fields to signed char so the code will work with all compilers.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/ocfs2.h