diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:12:59 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:06 -0500 |
commit | ad44be5c7820f5b8ce97292f4bcb3de73625c35b (patch) | |
tree | 5036e32da75761c5e3fac5a12543ef30cbaf425a /fs/ubifs | |
parent | 5eee25cacde61c37f1545a33d7fed88b14349976 (diff) |
ubifs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/dir.c | 4 | ||||
-rw-r--r-- | fs/ubifs/ubifs.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index d9aec2fc90a6..d6fe1c79f18b 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c | |||
@@ -56,7 +56,7 @@ | |||
56 | * | 56 | * |
57 | * This function returns the inherited flags. | 57 | * This function returns the inherited flags. |
58 | */ | 58 | */ |
59 | static int inherit_flags(const struct inode *dir, int mode) | 59 | static int inherit_flags(const struct inode *dir, umode_t mode) |
60 | { | 60 | { |
61 | int flags; | 61 | int flags; |
62 | const struct ubifs_inode *ui = ubifs_inode(dir); | 62 | const struct ubifs_inode *ui = ubifs_inode(dir); |
@@ -86,7 +86,7 @@ static int inherit_flags(const struct inode *dir, int mode) | |||
86 | * case of failure. | 86 | * case of failure. |
87 | */ | 87 | */ |
88 | struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, | 88 | struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, |
89 | int mode) | 89 | umode_t mode) |
90 | { | 90 | { |
91 | struct inode *inode; | 91 | struct inode *inode; |
92 | struct ubifs_inode *ui; | 92 | struct ubifs_inode *ui; |
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 27f22551f805..12e94774aa88 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -1734,7 +1734,7 @@ int ubifs_setattr(struct dentry *dentry, struct iattr *attr); | |||
1734 | 1734 | ||
1735 | /* dir.c */ | 1735 | /* dir.c */ |
1736 | struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, | 1736 | struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, |
1737 | int mode); | 1737 | umode_t mode); |
1738 | int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry, | 1738 | int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry, |
1739 | struct kstat *stat); | 1739 | struct kstat *stat); |
1740 | 1740 | ||