diff options
Diffstat (limited to 'fs/ncpfs/dir.c')
-rw-r--r-- | fs/ncpfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 9c51f621e901..dfb51f084407 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c | |||
@@ -33,7 +33,7 @@ static int ncp_readdir(struct file *, void *, filldir_t); | |||
33 | static int ncp_create(struct inode *, struct dentry *, int, struct nameidata *); | 33 | static int ncp_create(struct inode *, struct dentry *, int, struct nameidata *); |
34 | static struct dentry *ncp_lookup(struct inode *, struct dentry *, struct nameidata *); | 34 | static struct dentry *ncp_lookup(struct inode *, struct dentry *, struct nameidata *); |
35 | static int ncp_unlink(struct inode *, struct dentry *); | 35 | static int ncp_unlink(struct inode *, struct dentry *); |
36 | static int ncp_mkdir(struct inode *, struct dentry *, int); | 36 | static int ncp_mkdir(struct inode *, struct dentry *, umode_t); |
37 | static int ncp_rmdir(struct inode *, struct dentry *); | 37 | static int ncp_rmdir(struct inode *, struct dentry *); |
38 | static int ncp_rename(struct inode *, struct dentry *, | 38 | static int ncp_rename(struct inode *, struct dentry *, |
39 | struct inode *, struct dentry *); | 39 | struct inode *, struct dentry *); |
@@ -985,7 +985,7 @@ static int ncp_create(struct inode *dir, struct dentry *dentry, int mode, | |||
985 | return ncp_create_new(dir, dentry, mode, 0, 0); | 985 | return ncp_create_new(dir, dentry, mode, 0, 0); |
986 | } | 986 | } |
987 | 987 | ||
988 | static int ncp_mkdir(struct inode *dir, struct dentry *dentry, int mode) | 988 | static int ncp_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) |
989 | { | 989 | { |
990 | struct ncp_entry_info finfo; | 990 | struct ncp_entry_info finfo; |
991 | struct ncp_server *server = NCP_SERVER(dir); | 991 | struct ncp_server *server = NCP_SERVER(dir); |