diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-04-02 05:36:30 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-22 02:31:22 +0400 |
commit | 52957fe1c709d5ca3732456d73f4e4d95492c72c (patch) | |
tree | c1e1f92cefbc9c03620af6c97ba50d8de1011f8e /fs | |
parent | 9a2296832c43da93a88e1edd59f3d17acffca36c (diff) | |
download | linux-52957fe1c709d5ca3732456d73f4e4d95492c72c.tar.xz |
fs-writeback.c: bitfields should be unsigned
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fs-writeback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 4b37f7cea4dd..24e85ce11891 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -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; }; /* |