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/cifs | |
parent | 4acdaf27ebe2034c342f3be57ef49aed1ad885ef (diff) |
switch ->mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.h | 2 | ||||
-rw-r--r-- | fs/cifs/dir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h index 358724df558b..fe5ecf1b422a 100644 --- a/fs/cifs/cifsfs.h +++ b/fs/cifs/cifsfs.h | |||
@@ -50,7 +50,7 @@ extern struct dentry *cifs_lookup(struct inode *, struct dentry *, | |||
50 | struct nameidata *); | 50 | struct nameidata *); |
51 | extern int cifs_unlink(struct inode *dir, struct dentry *dentry); | 51 | extern int cifs_unlink(struct inode *dir, struct dentry *dentry); |
52 | extern int cifs_hardlink(struct dentry *, struct inode *, struct dentry *); | 52 | extern int cifs_hardlink(struct dentry *, struct inode *, struct dentry *); |
53 | extern int cifs_mknod(struct inode *, struct dentry *, int, dev_t); | 53 | extern int cifs_mknod(struct inode *, struct dentry *, umode_t, dev_t); |
54 | extern int cifs_mkdir(struct inode *, struct dentry *, umode_t); | 54 | extern int cifs_mkdir(struct inode *, struct dentry *, umode_t); |
55 | extern int cifs_rmdir(struct inode *, struct dentry *); | 55 | extern int cifs_rmdir(struct inode *, struct dentry *); |
56 | extern int cifs_rename(struct inode *, struct dentry *, struct inode *, | 56 | extern int cifs_rename(struct inode *, struct dentry *, struct inode *, |
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 2dc8be86be09..df8fecb5b993 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -355,7 +355,7 @@ cifs_create_out: | |||
355 | return rc; | 355 | return rc; |
356 | } | 356 | } |
357 | 357 | ||
358 | int cifs_mknod(struct inode *inode, struct dentry *direntry, int mode, | 358 | int cifs_mknod(struct inode *inode, struct dentry *direntry, umode_t mode, |
359 | dev_t device_number) | 359 | dev_t device_number) |
360 | { | 360 | { |
361 | int rc = -EPERM; | 361 | int rc = -EPERM; |