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/dir.c | |
parent | 5eee25cacde61c37f1545a33d7fed88b14349976 (diff) | |
download | op-kernel-dev-ad44be5c7820f5b8ce97292f4bcb3de73625c35b.zip op-kernel-dev-ad44be5c7820f5b8ce97292f4bcb3de73625c35b.tar.gz |
ubifs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs/dir.c')
-rw-r--r-- | fs/ubifs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index d9aec2f..d6fe1c7 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c @@ -56,7 +56,7 @@ * * This function returns the inherited flags. */ -static int inherit_flags(const struct inode *dir, int mode) +static int inherit_flags(const struct inode *dir, umode_t mode) { int flags; const struct ubifs_inode *ui = ubifs_inode(dir); @@ -86,7 +86,7 @@ static int inherit_flags(const struct inode *dir, int mode) * case of failure. */ struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, - int mode) + umode_t mode) { struct inode *inode; struct ubifs_inode *ui; |