diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:12:16 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:05 -0500 |
commit | 5eee25cacde61c37f1545a33d7fed88b14349976 (patch) | |
tree | cc223c8d3707205c3f94580d02ccbaf97d90f8fb /fs/ncpfs/dir.c | |
parent | 18df22524202ebd3416f391393e5aa986a31dc9d (diff) |
ncpfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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 a2d50f803a17..aeed93a6bde0 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c | |||
@@ -919,7 +919,7 @@ out_close: | |||
919 | goto out; | 919 | goto out; |
920 | } | 920 | } |
921 | 921 | ||
922 | int ncp_create_new(struct inode *dir, struct dentry *dentry, int mode, | 922 | int ncp_create_new(struct inode *dir, struct dentry *dentry, umode_t mode, |
923 | dev_t rdev, __le32 attributes) | 923 | dev_t rdev, __le32 attributes) |
924 | { | 924 | { |
925 | struct ncp_server *server = NCP_SERVER(dir); | 925 | struct ncp_server *server = NCP_SERVER(dir); |
@@ -928,7 +928,7 @@ int ncp_create_new(struct inode *dir, struct dentry *dentry, int mode, | |||
928 | int opmode; | 928 | int opmode; |
929 | __u8 __name[NCP_MAXPATHLEN + 1]; | 929 | __u8 __name[NCP_MAXPATHLEN + 1]; |
930 | 930 | ||
931 | PPRINTK("ncp_create_new: creating %s/%s, mode=%x\n", | 931 | PPRINTK("ncp_create_new: creating %s/%s, mode=%hx\n", |
932 | dentry->d_parent->d_name.name, dentry->d_name.name, mode); | 932 | dentry->d_parent->d_name.name, dentry->d_name.name, mode); |
933 | 933 | ||
934 | ncp_age_dentry(server, dentry); | 934 | ncp_age_dentry(server, dentry); |