diff options
Diffstat (limited to 'fs/logfs/dir.c')
-rw-r--r-- | fs/logfs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/logfs/dir.c b/fs/logfs/dir.c index b7d7f67cee5a..501043e8966c 100644 --- a/fs/logfs/dir.c +++ b/fs/logfs/dir.c | |||
@@ -482,7 +482,7 @@ out: | |||
482 | return ret; | 482 | return ret; |
483 | } | 483 | } |
484 | 484 | ||
485 | static int logfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) | 485 | static int logfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) |
486 | { | 486 | { |
487 | struct inode *inode; | 487 | struct inode *inode; |
488 | 488 | ||
@@ -501,7 +501,7 @@ static int logfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) | |||
501 | return __logfs_create(dir, dentry, inode, NULL, 0); | 501 | return __logfs_create(dir, dentry, inode, NULL, 0); |
502 | } | 502 | } |
503 | 503 | ||
504 | static int logfs_create(struct inode *dir, struct dentry *dentry, int mode, | 504 | static int logfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, |
505 | struct nameidata *nd) | 505 | struct nameidata *nd) |
506 | { | 506 | { |
507 | struct inode *inode; | 507 | struct inode *inode; |
@@ -517,7 +517,7 @@ static int logfs_create(struct inode *dir, struct dentry *dentry, int mode, | |||
517 | return __logfs_create(dir, dentry, inode, NULL, 0); | 517 | return __logfs_create(dir, dentry, inode, NULL, 0); |
518 | } | 518 | } |
519 | 519 | ||
520 | static int logfs_mknod(struct inode *dir, struct dentry *dentry, int mode, | 520 | static int logfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, |
521 | dev_t rdev) | 521 | dev_t rdev) |
522 | { | 522 | { |
523 | struct inode *inode; | 523 | struct inode *inode; |