diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-06-20 08:44:27 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-06-20 08:44:27 -0400 |
commit | 695165dfba5204791bc4ae8911ed8b6326ce6d91 (patch) | |
tree | 58729438822548860fc726191e3b1b149dad72a9 /fs | |
parent | d636b2798732f2cfba48d94aa19b7ba206268a83 (diff) |
[GFS2] Fix use of bitops on unsigned int (struct gfs2_holder->gh_iflags)
fs/gfs2/glock.c: In function ‘gfs2_holder_get’:
fs/gfs2/glock.c:439: warning: passing argument 2 of ‘set_bit’ from incompatible pointer type
fs/gfs2/glock.c: In function ‘rq_promote’:
fs/gfs2/glock.c:512: warning: passing argument 2 of ‘set_bit’ from incompatible pointer type
fs/gfs2/glock.c:526: warning: passing argument 2 of ‘set_bit’ from incompatible pointer type
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/incore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 9a67a5954126..034a855a14bb 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -157,7 +157,7 @@ struct gfs2_holder { | |||
157 | unsigned gh_flags; | 157 | unsigned gh_flags; |
158 | 158 | ||
159 | int gh_error; | 159 | int gh_error; |
160 | unsigned gh_iflags; | 160 | unsigned long gh_iflags; |
161 | struct completion gh_wait; | 161 | struct completion gh_wait; |
162 | unsigned long gh_ip; | 162 | unsigned long gh_ip; |
163 | }; | 163 | }; |