diff options
Diffstat (limited to 'fs/fuse/dir.c')
-rw-r--r-- | fs/fuse/dir.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 9f63e493a9b6..5ddd6ea8f839 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c | |||
@@ -369,8 +369,8 @@ static struct dentry *fuse_lookup(struct inode *dir, struct dentry *entry, | |||
369 | * If the filesystem doesn't support this, then fall back to separate | 369 | * If the filesystem doesn't support this, then fall back to separate |
370 | * 'mknod' + 'open' requests. | 370 | * 'mknod' + 'open' requests. |
371 | */ | 371 | */ |
372 | static int fuse_create_open(struct inode *dir, struct dentry *entry, int mode, | 372 | static int fuse_create_open(struct inode *dir, struct dentry *entry, |
373 | struct nameidata *nd) | 373 | umode_t mode, struct nameidata *nd) |
374 | { | 374 | { |
375 | int err; | 375 | int err; |
376 | struct inode *inode; | 376 | struct inode *inode; |
@@ -480,7 +480,7 @@ static int fuse_create_open(struct inode *dir, struct dentry *entry, int mode, | |||
480 | */ | 480 | */ |
481 | static int create_new_entry(struct fuse_conn *fc, struct fuse_req *req, | 481 | static int create_new_entry(struct fuse_conn *fc, struct fuse_req *req, |
482 | struct inode *dir, struct dentry *entry, | 482 | struct inode *dir, struct dentry *entry, |
483 | int mode) | 483 | umode_t mode) |
484 | { | 484 | { |
485 | struct fuse_entry_out outarg; | 485 | struct fuse_entry_out outarg; |
486 | struct inode *inode; | 486 | struct inode *inode; |
@@ -547,7 +547,7 @@ static int create_new_entry(struct fuse_conn *fc, struct fuse_req *req, | |||
547 | return err; | 547 | return err; |
548 | } | 548 | } |
549 | 549 | ||
550 | static int fuse_mknod(struct inode *dir, struct dentry *entry, int mode, | 550 | static int fuse_mknod(struct inode *dir, struct dentry *entry, umode_t mode, |
551 | dev_t rdev) | 551 | dev_t rdev) |
552 | { | 552 | { |
553 | struct fuse_mknod_in inarg; | 553 | struct fuse_mknod_in inarg; |
@@ -573,7 +573,7 @@ static int fuse_mknod(struct inode *dir, struct dentry *entry, int mode, | |||
573 | return create_new_entry(fc, req, dir, entry, mode); | 573 | return create_new_entry(fc, req, dir, entry, mode); |
574 | } | 574 | } |
575 | 575 | ||
576 | static int fuse_create(struct inode *dir, struct dentry *entry, int mode, | 576 | static int fuse_create(struct inode *dir, struct dentry *entry, umode_t mode, |
577 | struct nameidata *nd) | 577 | struct nameidata *nd) |
578 | { | 578 | { |
579 | if (nd) { | 579 | if (nd) { |
@@ -585,7 +585,7 @@ static int fuse_create(struct inode *dir, struct dentry *entry, int mode, | |||
585 | return fuse_mknod(dir, entry, mode, 0); | 585 | return fuse_mknod(dir, entry, mode, 0); |
586 | } | 586 | } |
587 | 587 | ||
588 | static int fuse_mkdir(struct inode *dir, struct dentry *entry, int mode) | 588 | static int fuse_mkdir(struct inode *dir, struct dentry *entry, umode_t mode) |
589 | { | 589 | { |
590 | struct fuse_mkdir_in inarg; | 590 | struct fuse_mkdir_in inarg; |
591 | struct fuse_conn *fc = get_fuse_conn(dir); | 591 | struct fuse_conn *fc = get_fuse_conn(dir); |