VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2011-07-26 01:41:39 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-01-03 22:54:53 -0500 commit: 18bb1db3e7607e4a997d50991a6f9fa5b0f8722c parent: 8208a22bb8bd3c52ef634b4ff194f14892ab1713
Commit Summary:
switch vfs_mkdir() and ->mkdir() to umode_t
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
index 98e544274390..667dc7ff28c0 100644
--- a/fs/omfs/dir.c
+++ b/fs/omfs/dir.c
@@ -279,7 +279,7 @@ out_free_inode:
 	return err;
 }
 
-static int omfs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
+static int omfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
 {
 	return omfs_add_node(dir, dentry, mode | S_IFDIR);
 }