Commit 881764461165d69814194b6fe97d4352bbd0ae82
1 parent
ad44be5c78
Exists in
master
and in
6 other branches
logfs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
fs/logfs/inode.c
... | ... | @@ -323,7 +323,7 @@ |
323 | 323 | mutex_unlock(&super->s_journal_mutex); |
324 | 324 | } |
325 | 325 | |
326 | -struct inode *logfs_new_inode(struct inode *dir, int mode) | |
326 | +struct inode *logfs_new_inode(struct inode *dir, umode_t mode) | |
327 | 327 | { |
328 | 328 | struct super_block *sb = dir->i_sb; |
329 | 329 | struct inode *inode; |
fs/logfs/logfs.h
... | ... | @@ -520,7 +520,7 @@ |
520 | 520 | struct inode *logfs_iget(struct super_block *sb, ino_t ino); |
521 | 521 | struct inode *logfs_safe_iget(struct super_block *sb, ino_t ino, int *cookie); |
522 | 522 | void logfs_safe_iput(struct inode *inode, int cookie); |
523 | -struct inode *logfs_new_inode(struct inode *dir, int mode); | |
523 | +struct inode *logfs_new_inode(struct inode *dir, umode_t mode); | |
524 | 524 | struct inode *logfs_new_meta_inode(struct super_block *sb, u64 ino); |
525 | 525 | struct inode *logfs_read_meta_inode(struct super_block *sb, u64 ino); |
526 | 526 | int logfs_init_inode_cache(void); |