diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 12:49:07 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 12:49:07 -0400 |
commit | cd915493fce912f1bd838ee1250737ecf33b8fae (patch) | |
tree | e14ec6643de91f473edb26a89905e710596fe6bc /fs/gfs2/dir.h | |
parent | a91ea69ffd3f8a0b7139bfd44042ab384461e631 (diff) |
[GFS2] Change all types to uX style
This makes all fixed size types have consistent names.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.h')
-rw-r--r-- | fs/gfs2/dir.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/dir.h b/fs/gfs2/dir.h index 366a5571648f..f1f83faa36ec 100644 --- a/fs/gfs2/dir.h +++ b/fs/gfs2/dir.h | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | typedef int (*gfs2_filldir_t) (void *opaque, | 25 | typedef int (*gfs2_filldir_t) (void *opaque, |
26 | const char *name, unsigned int length, | 26 | const char *name, unsigned int length, |
27 | uint64_t offset, | 27 | u64 offset, |
28 | struct gfs2_inum *inum, unsigned int type); | 28 | struct gfs2_inum *inum, unsigned int type); |
29 | 29 | ||
30 | int gfs2_dir_search(struct inode *dir, const struct qstr *filename, | 30 | int gfs2_dir_search(struct inode *dir, const struct qstr *filename, |
@@ -32,7 +32,7 @@ int gfs2_dir_search(struct inode *dir, const struct qstr *filename, | |||
32 | int gfs2_dir_add(struct inode *inode, const struct qstr *filename, | 32 | int gfs2_dir_add(struct inode *inode, const struct qstr *filename, |
33 | const struct gfs2_inum *inum, unsigned int type); | 33 | const struct gfs2_inum *inum, unsigned int type); |
34 | int gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *filename); | 34 | int gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *filename); |
35 | int gfs2_dir_read(struct inode *inode, uint64_t * offset, void *opaque, | 35 | int gfs2_dir_read(struct inode *inode, u64 * offset, void *opaque, |
36 | gfs2_filldir_t filldir); | 36 | gfs2_filldir_t filldir); |
37 | int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, | 37 | int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, |
38 | struct gfs2_inum *new_inum, unsigned int new_type); | 38 | struct gfs2_inum *new_inum, unsigned int new_type); |
@@ -41,10 +41,10 @@ int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip); | |||
41 | 41 | ||
42 | int gfs2_diradd_alloc_required(struct inode *dir, | 42 | int gfs2_diradd_alloc_required(struct inode *dir, |
43 | const struct qstr *filename); | 43 | const struct qstr *filename); |
44 | int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, uint64_t block, | 44 | int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, |
45 | struct buffer_head **bhp); | 45 | struct buffer_head **bhp); |
46 | 46 | ||
47 | static inline uint32_t gfs2_disk_hash(const char *data, int len) | 47 | static inline u32 gfs2_disk_hash(const char *data, int len) |
48 | { | 48 | { |
49 | return crc32_le(0xFFFFFFFF, data, len) ^ 0xFFFFFFFF; | 49 | return crc32_le(0xFFFFFFFF, data, len) ^ 0xFFFFFFFF; |
50 | } | 50 | } |