projects/linux·commit 4fefce9a

jbd.h: bitfields should be unsigned

4fefce9a · H Hartley Sweeten <[email protected]> · 2009-09-22 16:48:02 -07:00

bitfields should be unsigned.

This fixes sparse noise:
  error: dubious one-bit signed bitfield

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
4fefce9abaeef0d6ec45e06a882db23a65135272
Parents
a4255e4c

Changes

1 files changed · +1 −1

FileStatusAddDelContent
include/linux/jbd.hmodified+1−1View file

include/linux/jbd.h

View file
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index a1187a0..331530c 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -556,7 +556,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;
};
/**