diff options
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c index 5dc458f19bc9..16a75e9a038d 100644 --- a/fs/jffs2/dir.c +++ b/fs/jffs2/dir.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | static int jffs2_readdir (struct file *, void *, filldir_t); | 23 | static int jffs2_readdir (struct file *, void *, filldir_t); |
24 | 24 | ||
25 | static int jffs2_create (struct inode *,struct dentry *,int, | 25 | static int jffs2_create (struct inode *,struct dentry *,umode_t, |
26 | struct nameidata *); | 26 | struct nameidata *); |
27 | static struct dentry *jffs2_lookup (struct inode *,struct dentry *, | 27 | static struct dentry *jffs2_lookup (struct inode *,struct dentry *, |
28 | struct nameidata *); | 28 | struct nameidata *); |
@@ -169,8 +169,8 @@ static int jffs2_readdir(struct file *filp, void *dirent, filldir_t filldir) | |||
169 | /***********************************************************************/ | 169 | /***********************************************************************/ |
170 | 170 | ||
171 | 171 | ||
172 | static int jffs2_create(struct inode *dir_i, struct dentry *dentry, int mode, | 172 | static int jffs2_create(struct inode *dir_i, struct dentry *dentry, |
173 | struct nameidata *nd) | 173 | umode_t mode, struct nameidata *nd) |
174 | { | 174 | { |
175 | struct jffs2_raw_inode *ri; | 175 | struct jffs2_raw_inode *ri; |
176 | struct jffs2_inode_info *f, *dir_f; | 176 | struct jffs2_inode_info *f, *dir_f; |