From: Al Viro Date: Tue, 26 Jul 2011 08:31:40 +0000 (-0400) Subject: switch may_mknod() to umode_t X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f69aac0006c303a98da9d2db04b71fd1c600d503;p=openwrt%2Fstaging%2Fblogic.git switch may_mknod() to umode_t Signed-off-by: Al Viro --- diff --git a/fs/namei.c b/fs/namei.c index 85bb44f222c9..e275dc36d7c5 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: