diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-04-01 20:36:30 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-21 18:31:22 -0400 |
commit | 52957fe1c709d5ca3732456d73f4e4d95492c72c (patch) | |
tree | c1e1f92cefbc9c03620af6c97ba50d8de1011f8e /fs/fs-writeback.c | |
parent | 9a2296832c43da93a88e1edd59f3d17acffca36c (diff) | |
download | lwn-52957fe1c709d5ca3732456d73f4e4d95492c72c.tar.gz lwn-52957fe1c709d5ca3732456d73f4e4d95492c72c.zip |
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/fs-writeback.c')
-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; }; /* |