jbd.h: bitfields should be unsigned
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 22 Sep 2009 23:48:02 +0000 (16:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:58 +0000 (07:39 -0700)
bitfields should be unsigned.

This fixes sparse noise:
  error: dubious one-bit signed bitfield

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jan Kara <jack@ucw.cz>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/jbd.h

index a1187a0c99b42bf79533e164f6fea8d2f574eed1..331530cd3cc6563f8e2f12b35ef544d2763788e1 100644 (file)
@@ -556,7 +556,7 @@ struct transaction_s
         * This transaction is being forced and some process is
         * waiting for it to finish.
         */
-       int t_synchronous_commit:1;
+       unsigned int t_synchronous_commit:1;
 };
 
 /**