diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 02:49:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:59 -0500 |
commit | 6a9a06d9ca3d307bd83d93e442ad964f5de7ec2c (patch) | |
tree | 46e9c10155053144a4931f4ceeaa7b77cd12326a /fs/ufs | |
parent | 4f45ba3d101fd882ed122059e6797786c81e2c17 (diff) |
ufs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ufs')
-rw-r--r-- | fs/ufs/ialloc.c | 2 | ||||
-rw-r--r-- | fs/ufs/inode.c | 4 | ||||
-rw-r--r-- | fs/ufs/ufs.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/ufs/ialloc.c b/fs/ufs/ialloc.c index 78a4c70d46b5..4ec5c1085a87 100644 --- a/fs/ufs/ialloc.c +++ b/fs/ufs/ialloc.c | |||
@@ -170,7 +170,7 @@ static void ufs2_init_inodes_chunk(struct super_block *sb, | |||
170 | * For other inodes, search forward from the parent directory's block | 170 | * For other inodes, search forward from the parent directory's block |
171 | * group to find a free inode. | 171 | * group to find a free inode. |
172 | */ | 172 | */ |
173 | struct inode * ufs_new_inode(struct inode * dir, int mode) | 173 | struct inode *ufs_new_inode(struct inode *dir, umode_t mode) |
174 | { | 174 | { |
175 | struct super_block * sb; | 175 | struct super_block * sb; |
176 | struct ufs_sb_info * sbi; | 176 | struct ufs_sb_info * sbi; |
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index 879b13436fa4..9094e1d917be 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c | |||
@@ -583,7 +583,7 @@ static int ufs1_read_inode(struct inode *inode, struct ufs_inode *ufs_inode) | |||
583 | { | 583 | { |
584 | struct ufs_inode_info *ufsi = UFS_I(inode); | 584 | struct ufs_inode_info *ufsi = UFS_I(inode); |
585 | struct super_block *sb = inode->i_sb; | 585 | struct super_block *sb = inode->i_sb; |
586 | mode_t mode; | 586 | umode_t mode; |
587 | 587 | ||
588 | /* | 588 | /* |
589 | * Copy data to the in-core inode. | 589 | * Copy data to the in-core inode. |
@@ -630,7 +630,7 @@ static int ufs2_read_inode(struct inode *inode, struct ufs2_inode *ufs2_inode) | |||
630 | { | 630 | { |
631 | struct ufs_inode_info *ufsi = UFS_I(inode); | 631 | struct ufs_inode_info *ufsi = UFS_I(inode); |
632 | struct super_block *sb = inode->i_sb; | 632 | struct super_block *sb = inode->i_sb; |
633 | mode_t mode; | 633 | umode_t mode; |
634 | 634 | ||
635 | UFSD("Reading ufs2 inode, ino %lu\n", inode->i_ino); | 635 | UFSD("Reading ufs2 inode, ino %lu\n", inode->i_ino); |
636 | /* | 636 | /* |
diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h index c26f2bcec264..528750b7e701 100644 --- a/fs/ufs/ufs.h +++ b/fs/ufs/ufs.h | |||
@@ -104,7 +104,7 @@ extern const struct address_space_operations ufs_aops; | |||
104 | 104 | ||
105 | /* ialloc.c */ | 105 | /* ialloc.c */ |
106 | extern void ufs_free_inode (struct inode *inode); | 106 | extern void ufs_free_inode (struct inode *inode); |
107 | extern struct inode * ufs_new_inode (struct inode *, int); | 107 | extern struct inode * ufs_new_inode (struct inode *, umode_t); |
108 | 108 | ||
109 | /* inode.c */ | 109 | /* inode.c */ |
110 | extern struct inode *ufs_iget(struct super_block *, unsigned long); | 110 | extern struct inode *ufs_iget(struct super_block *, unsigned long); |