aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r--fs/gfs2/ops_file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index 53ce7816dc18..f5ddd496d3ec 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -47,7 +47,7 @@
47struct filldir_bad_entry { 47struct filldir_bad_entry {
48 char *fbe_name; 48 char *fbe_name;
49 unsigned int fbe_length; 49 unsigned int fbe_length;
50 uint64_t fbe_offset; 50 u64 fbe_offset;
51 struct gfs2_inum fbe_inum; 51 struct gfs2_inum fbe_inum;
52 unsigned int fbe_type; 52 unsigned int fbe_type;
53}; 53};
@@ -161,7 +161,7 @@ static loff_t gfs2_llseek(struct file *file, loff_t offset, int origin)
161 */ 161 */
162 162
163static int filldir_reg_func(void *opaque, const char *name, unsigned int length, 163static int filldir_reg_func(void *opaque, const char *name, unsigned int length,
164 uint64_t offset, struct gfs2_inum *inum, 164 u64 offset, struct gfs2_inum *inum,
165 unsigned int type) 165 unsigned int type)
166{ 166{
167 struct filldir_reg *fdr = (struct filldir_reg *)opaque; 167 struct filldir_reg *fdr = (struct filldir_reg *)opaque;
@@ -200,7 +200,7 @@ static int readdir_reg(struct file *file, void *dirent, filldir_t filldir)
200 struct gfs2_inode *dip = GFS2_I(dir); 200 struct gfs2_inode *dip = GFS2_I(dir);
201 struct filldir_reg fdr; 201 struct filldir_reg fdr;
202 struct gfs2_holder d_gh; 202 struct gfs2_holder d_gh;
203 uint64_t offset = file->f_pos; 203 u64 offset = file->f_pos;
204 int error; 204 int error;
205 205
206 fdr.fdr_sbd = GFS2_SB(dir); 206 fdr.fdr_sbd = GFS2_SB(dir);
@@ -239,7 +239,7 @@ static int readdir_reg(struct file *file, void *dirent, filldir_t filldir)
239 */ 239 */
240 240
241static int filldir_bad_func(void *opaque, const char *name, unsigned int length, 241static int filldir_bad_func(void *opaque, const char *name, unsigned int length,
242 uint64_t offset, struct gfs2_inum *inum, 242 u64 offset, struct gfs2_inum *inum,
243 unsigned int type) 243 unsigned int type)
244{ 244{
245 struct filldir_bad *fdb = (struct filldir_bad *)opaque; 245 struct filldir_bad *fdb = (struct filldir_bad *)opaque;
@@ -293,7 +293,7 @@ static int readdir_bad(struct file *file, void *dirent, filldir_t filldir)
293 unsigned int entries, size; 293 unsigned int entries, size;
294 struct filldir_bad *fdb; 294 struct filldir_bad *fdb;
295 struct gfs2_holder d_gh; 295 struct gfs2_holder d_gh;
296 uint64_t offset = file->f_pos; 296 u64 offset = file->f_pos;
297 unsigned int x; 297 unsigned int x;
298 struct filldir_bad_entry *fbe; 298 struct filldir_bad_entry *fbe;
299 int error; 299 int error;