reiserfs: propagate umode_t
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 06:50:53 +0000 (02:50 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:55:00 +0000 (22:55 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/reiserfs/inode.c
fs/reiserfs/namei.c
include/linux/reiserfs_fs.h

index 950f13af0951605e7dd63d21151fe86e84937052..9e8cd5acd79ced1eddf32016ed56303fb724e690 100644 (file)
@@ -1766,7 +1766,7 @@ static int reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct i
    for the fresh inode.  This can only be done outside a transaction, so
    if we return non-zero, we also end the transaction.  */
 int reiserfs_new_inode(struct reiserfs_transaction_handle *th,
-                      struct inode *dir, int mode, const char *symname,
+                      struct inode *dir, umode_t mode, const char *symname,
                       /* 0 for regular, EMTRY_DIR_SIZE for dirs,
                          strlen (symname) for symlinks) */
                       loff_t i_size, struct dentry *dentry,
index a8614bd7cc8dc6311722ff29d1eb87384783c803..146378865239884975aba204d7af91995c08a4bb 100644 (file)
@@ -559,7 +559,7 @@ static int drop_new_inode(struct inode *inode)
 ** outside of a transaction, so we had to pull some bits of
 ** reiserfs_new_inode out into this func.
 */
-static int new_inode_init(struct inode *inode, struct inode *dir, int mode)
+static int new_inode_init(struct inode *inode, struct inode *dir, umode_t mode)
 {
        /* Make inode invalid - just in case we are going to drop it before
         * the initialization happens */
index 96d465f8d3e6441ca19cdea54bfd7b12edbd4b05..26be28fd7b76ca249985e8d40b3089339a05a306 100644 (file)
@@ -2056,7 +2056,7 @@ struct inode *reiserfs_iget(struct super_block *s, const struct cpu_key *key);
 
 struct reiserfs_security_handle;
 int reiserfs_new_inode(struct reiserfs_transaction_handle *th,
-                      struct inode *dir, int mode,
+                      struct inode *dir, umode_t mode,
                       const char *symname, loff_t i_size,
                       struct dentry *dentry, struct inode *inode,
                       struct reiserfs_security_handle *security);
This page took 0.045436 seconds and 5 git commands to generate.