From 6f1daa1ed601214fb9439e8d1e3436991d6122b3 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 10 Feb 2012 15:36:36 -0500 Subject: [PATCH] Unionfs: use mode_t Signed-off-by: Erez Zadok --- fs/unionfs/inode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.43.0