From: Al Viro Date: Tue, 26 Jul 2011 08:31:40 +0000 (-0400) Subject: switch may_mknod() to umode_t X-Git-Tag: v3.3-rc1~170^2~11^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f69aac0006c303a98da9d2db04b71fd1c600d503;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git switch may_mknod() to umode_t Signed-off-by: Al Viro --- diff --git a/fs/namei.c b/fs/namei.c index 85bb44f..e275dc3 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2472,7 +2472,7 @@ int vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) return error; } -static int may_mknod(mode_t mode) +static int may_mknod(umode_t mode) { switch (mode & S_IFMT) { case S_IFREG: