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/ops_inode.c | |
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/ops_inode.c')
-rw-r--r-- | fs/gfs2/ops_inode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index bd9b9957f707..c680f050e17f 100644 --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c | |||
@@ -172,7 +172,7 @@ static int gfs2_link(struct dentry *old_dentry, struct inode *dir, | |||
172 | if (!dip->i_di.di_nlink) | 172 | if (!dip->i_di.di_nlink) |
173 | goto out_gunlock; | 173 | goto out_gunlock; |
174 | error = -EFBIG; | 174 | error = -EFBIG; |
175 | if (dip->i_di.di_entries == (uint32_t)-1) | 175 | if (dip->i_di.di_entries == (u32)-1) |
176 | goto out_gunlock; | 176 | goto out_gunlock; |
177 | error = -EPERM; | 177 | error = -EPERM; |
178 | if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) | 178 | if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) |
@@ -181,7 +181,7 @@ static int gfs2_link(struct dentry *old_dentry, struct inode *dir, | |||
181 | if (!ip->i_di.di_nlink) | 181 | if (!ip->i_di.di_nlink) |
182 | goto out_gunlock; | 182 | goto out_gunlock; |
183 | error = -EMLINK; | 183 | error = -EMLINK; |
184 | if (ip->i_di.di_nlink == (uint32_t)-1) | 184 | if (ip->i_di.di_nlink == (u32)-1) |
185 | goto out_gunlock; | 185 | goto out_gunlock; |
186 | 186 | ||
187 | alloc_required = error = gfs2_diradd_alloc_required(dir, &dentry->d_name); | 187 | alloc_required = error = gfs2_diradd_alloc_required(dir, &dentry->d_name); |
@@ -509,7 +509,7 @@ static int gfs2_mknod(struct inode *dir, struct dentry *dentry, int mode, | |||
509 | struct gfs2_holder ghs[2]; | 509 | struct gfs2_holder ghs[2]; |
510 | struct inode *inode; | 510 | struct inode *inode; |
511 | struct buffer_head *dibh; | 511 | struct buffer_head *dibh; |
512 | uint32_t major = 0, minor = 0; | 512 | u32 major = 0, minor = 0; |
513 | int error; | 513 | int error; |
514 | 514 | ||
515 | switch (mode & S_IFMT) { | 515 | switch (mode & S_IFMT) { |
@@ -670,12 +670,12 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry, | |||
670 | error = -EINVAL; | 670 | error = -EINVAL; |
671 | goto out_gunlock; | 671 | goto out_gunlock; |
672 | } | 672 | } |
673 | if (ndip->i_di.di_entries == (uint32_t)-1) { | 673 | if (ndip->i_di.di_entries == (u32)-1) { |
674 | error = -EFBIG; | 674 | error = -EFBIG; |
675 | goto out_gunlock; | 675 | goto out_gunlock; |
676 | } | 676 | } |
677 | if (S_ISDIR(ip->i_di.di_mode) && | 677 | if (S_ISDIR(ip->i_di.di_mode) && |
678 | ndip->i_di.di_nlink == (uint32_t)-1) { | 678 | ndip->i_di.di_nlink == (u32)-1) { |
679 | error = -EMLINK; | 679 | error = -EMLINK; |
680 | goto out_gunlock; | 680 | goto out_gunlock; |
681 | } | 681 | } |
@@ -911,7 +911,7 @@ static int setattr_chown(struct inode *inode, struct iattr *attr) | |||
911 | struct gfs2_inode *ip = GFS2_I(inode); | 911 | struct gfs2_inode *ip = GFS2_I(inode); |
912 | struct gfs2_sbd *sdp = GFS2_SB(inode); | 912 | struct gfs2_sbd *sdp = GFS2_SB(inode); |
913 | struct buffer_head *dibh; | 913 | struct buffer_head *dibh; |
914 | uint32_t ouid, ogid, nuid, ngid; | 914 | u32 ouid, ogid, nuid, ngid; |
915 | int error; | 915 | int error; |
916 | 916 | ||
917 | ouid = ip->i_di.di_uid; | 917 | ouid = ip->i_di.di_uid; |