diff options
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
2472 | return error; | 2472 | return error; |
2473 | } | 2473 | } |
2474 | 2474 | ||
2475 | static int may_mknod(mode_t mode) | 2475 | static int may_mknod(umode_t mode) |
2476 | { | 2476 | { |
2477 | switch (mode & S_IFMT) { | 2477 | switch (mode & S_IFMT) { |
2478 | case S_IFREG: | 2478 | case S_IFREG: |