diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 01:52:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:54 -0500 |
commit | 1a67aafb5f72a436ca044293309fa7e6351d6a35 (patch) | |
tree | d9e58600148de9d41b478cf815773b746647d15b /fs/jffs2 | |
parent | 4acdaf27ebe2034c342f3be57ef49aed1ad885ef (diff) |
switch ->mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c index 16a75e9a038d..973ac5822bd7 100644 --- a/fs/jffs2/dir.c +++ b/fs/jffs2/dir.c | |||
@@ -31,7 +31,7 @@ static int jffs2_unlink (struct inode *,struct dentry *); | |||
31 | static int jffs2_symlink (struct inode *,struct dentry *,const char *); | 31 | static int jffs2_symlink (struct inode *,struct dentry *,const char *); |
32 | static int jffs2_mkdir (struct inode *,struct dentry *,umode_t); | 32 | static int jffs2_mkdir (struct inode *,struct dentry *,umode_t); |
33 | static int jffs2_rmdir (struct inode *,struct dentry *); | 33 | static int jffs2_rmdir (struct inode *,struct dentry *); |
34 | static int jffs2_mknod (struct inode *,struct dentry *,int,dev_t); | 34 | static int jffs2_mknod (struct inode *,struct dentry *,umode_t,dev_t); |
35 | static int jffs2_rename (struct inode *, struct dentry *, | 35 | static int jffs2_rename (struct inode *, struct dentry *, |
36 | struct inode *, struct dentry *); | 36 | struct inode *, struct dentry *); |
37 | 37 | ||
@@ -618,7 +618,7 @@ static int jffs2_rmdir (struct inode *dir_i, struct dentry *dentry) | |||
618 | return ret; | 618 | return ret; |
619 | } | 619 | } |
620 | 620 | ||
621 | static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, int mode, dev_t rdev) | 621 | static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, umode_t mode, dev_t rdev) |
622 | { | 622 | { |
623 | struct jffs2_inode_info *f, *dir_f; | 623 | struct jffs2_inode_info *f, *dir_f; |
624 | struct jffs2_sb_info *c; | 624 | struct jffs2_sb_info *c; |