From: Erez Zadok Date: Fri, 10 Feb 2012 20:36:36 +0000 (-0500) Subject: Unionfs: use mode_t X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=6f1daa1ed601214fb9439e8d1e3436991d6122b3;p=unionfs-3.7.y.git Unionfs: use mode_t Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index afc9a2dc103..dd522c2054e 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -97,7 +97,7 @@ out: } static int unionfs_create(struct inode *dir, struct dentry *dentry, - int mode, struct nameidata *nd_unused) + umode_t mode, struct nameidata *nd_unused) { int err = 0; struct dentry *lower_dentry = NULL; @@ -424,7 +424,7 @@ out: return err; } -static int unionfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) +static int unionfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) { int err = 0; struct dentry *lower_dentry = NULL; @@ -548,7 +548,7 @@ out: return err; } -static int unionfs_mknod(struct inode *dir, struct dentry *dentry, int mode, +static int unionfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) { int err = 0;