diff options
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index d7eeb9d3ed6f..df8fecb5b993 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -136,7 +136,7 @@ cifs_bp_rename_retry: | |||
136 | /* Inode operations in similar order to how they appear in Linux file fs.h */ | 136 | /* Inode operations in similar order to how they appear in Linux file fs.h */ |
137 | 137 | ||
138 | int | 138 | int |
139 | cifs_create(struct inode *inode, struct dentry *direntry, int mode, | 139 | cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode, |
140 | struct nameidata *nd) | 140 | struct nameidata *nd) |
141 | { | 141 | { |
142 | int rc = -ENOENT; | 142 | int rc = -ENOENT; |
@@ -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; |