diff options
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 1c916fedc04b..f2edc8b76121 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -87,7 +87,7 @@ static unsigned int gl_hash(const struct lm_lockname *name) | |||
87 | { | 87 | { |
88 | unsigned int h; | 88 | unsigned int h; |
89 | 89 | ||
90 | h = jhash(&name->ln_number, sizeof(uint64_t), 0); | 90 | h = jhash(&name->ln_number, sizeof(u64), 0); |
91 | h = jhash(&name->ln_type, sizeof(unsigned int), h); | 91 | h = jhash(&name->ln_type, sizeof(unsigned int), h); |
92 | h &= GFS2_GL_HASH_MASK; | 92 | h &= GFS2_GL_HASH_MASK; |
93 | 93 | ||
@@ -255,7 +255,7 @@ static struct gfs2_glock *gfs2_glock_find(struct gfs2_sbd *sdp, | |||
255 | * Returns: errno | 255 | * Returns: errno |
256 | */ | 256 | */ |
257 | 257 | ||
258 | int gfs2_glock_get(struct gfs2_sbd *sdp, uint64_t number, | 258 | int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, |
259 | const struct gfs2_glock_operations *glops, int create, | 259 | const struct gfs2_glock_operations *glops, int create, |
260 | struct gfs2_glock **glp) | 260 | struct gfs2_glock **glp) |
261 | { | 261 | { |
@@ -1415,7 +1415,7 @@ void gfs2_glock_dq_uninit(struct gfs2_holder *gh) | |||
1415 | * Returns: errno | 1415 | * Returns: errno |
1416 | */ | 1416 | */ |
1417 | 1417 | ||
1418 | int gfs2_glock_nq_num(struct gfs2_sbd *sdp, uint64_t number, | 1418 | int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, |
1419 | const struct gfs2_glock_operations *glops, | 1419 | const struct gfs2_glock_operations *glops, |
1420 | unsigned int state, int flags, struct gfs2_holder *gh) | 1420 | unsigned int state, int flags, struct gfs2_holder *gh) |
1421 | { | 1421 | { |
@@ -1613,7 +1613,7 @@ void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs) | |||
1613 | * Returns: errno | 1613 | * Returns: errno |
1614 | */ | 1614 | */ |
1615 | 1615 | ||
1616 | void gfs2_glock_prefetch_num(struct gfs2_sbd *sdp, uint64_t number, | 1616 | void gfs2_glock_prefetch_num(struct gfs2_sbd *sdp, u64 number, |
1617 | const struct gfs2_glock_operations *glops, | 1617 | const struct gfs2_glock_operations *glops, |
1618 | unsigned int state, int flags) | 1618 | unsigned int state, int flags) |
1619 | { | 1619 | { |