summaryrefslogtreecommitdiff
path: root/include/linux/jbd.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-09-22 16:48:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:58 -0700
commit4fefce9abaeef0d6ec45e06a882db23a65135272 (patch)
treec4e543fd3f42d7586b85b3a10944ae70aa362b1e /include/linux/jbd.h
parenta4255e4c1c41f906488ae4d3fa328a66695cf200 (diff)
downloadlwn-4fefce9abaeef0d6ec45e06a882db23a65135272.tar.gz
lwn-4fefce9abaeef0d6ec45e06a882db23a65135272.zip
jbd.h: bitfields should be unsigned
bitfields should be unsigned. This fixes sparse noise: error: dubious one-bit signed bitfield Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Jan Kara <jack@ucw.cz> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r--include/linux/jbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index a1187a0c99b4..331530cd3cc6 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;
};
/**