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 d97eb65..52695d3 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