jbd2: bitfields should be unsigned
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 18 Aug 2009 02:38:04 +0000 (22:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Aug 2009 02:38:04 +0000 (22:38 -0400)
This fixes sparse noise:
  error: dubious one-bit signed bitfield

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

index d97eb652d6cabc48c543a51941237f2d6e4c780f..52695d3dfd0b2e672951902dac0830fc14a2a537 100644 (file)
@@ -652,7 +652,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;
 
        /*
         * For use by the filesystem to store fs-specific data