fs-writeback.c: bitfields should be unsigned
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 2 Apr 2010 01:36:30 +0000 (20:36 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 May 2010 22:31:22 +0000 (18:31 -0400)
This fixes sparse noise:
  error: dubious one-bit signed bitfield

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fs-writeback.c

index 4b37f7cea4dd28edac895ebbe9017d80e7031c16..24e85ce118910a911b4e06fcd0949754b8cd735d 100644 (file)
@@ -42,9 +42,9 @@ struct wb_writeback_args {
        long nr_pages;
        struct super_block *sb;
        enum writeback_sync_modes sync_mode;
-       int for_kupdate:1;
-       int range_cyclic:1;
-       int for_background:1;
+       unsigned int for_kupdate:1;
+       unsigned int range_cyclic:1;
+       unsigned int for_background:1;
 };
 
 /*