[Ocfs2-devel] ocfs2: char is not always signed
Joel Becker
Joel.Becker at oracle.com
Thu Nov 18 15:43:43 PST 2010
On Wed, Nov 17, 2010 at 10:20:11PM -0600, Milton Miller wrote:
> 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 at bga.com>
This patch is now in the fixes branch of ocfs2.git.
Joel
--
"This is the end, beautiful friend.
This is the end, my only friend the end
Of our elaborate plans, the end
Of everything that stands, the end
No safety or surprise, the end
I'll never look into your eyes again."
Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list