From f8f9bad84ebe74758a1fa3e9951bdacd79dc5363 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Tue, 31 Jan 2012 04:40:19 -0500 Subject: [PATCH] Wrapfs: use mode_t Signed-off-by: Erez Zadok --- fs/wrapfs/inode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/wrapfs/inode.c b/fs/wrapfs/inode.c index 8c07388c5699..866838e5dca8 100644 --- a/fs/wrapfs/inode.c +++ b/fs/wrapfs/inode.c @@ -12,7 +12,7 @@ #include "wrapfs.h" static int wrapfs_create(struct inode *dir, struct dentry *dentry, - int mode, struct nameidata *nd) + umode_t mode, struct nameidata *nd) { int err = 0; struct dentry *lower_dentry; @@ -170,7 +170,7 @@ static int wrapfs_symlink(struct inode *dir, struct dentry *dentry, return err; } -static int wrapfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) +static int wrapfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) { int err = 0; struct dentry *lower_dentry; @@ -238,7 +238,7 @@ static int wrapfs_rmdir(struct inode *dir, struct dentry *dentry) return err; } -static int wrapfs_mknod(struct inode *dir, struct dentry *dentry, int mode, +static int wrapfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) { int err = 0; -- 2.43.0