]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/hugetlbfs/inode.c
switch ->mknod() to umode_t
[karo-tx-linux.git] / fs / hugetlbfs / inode.c
index 57996c3d8d0c3567259482d31097485cdceb34ed..698485ce5f3fbc20b2154c7a4663cd9a3eb286c4 100644 (file)
@@ -500,7 +500,7 @@ static struct inode *hugetlbfs_get_inode(struct super_block *sb, uid_t uid,
  * File creation. Allocate an inode, and we're done..
  */
 static int hugetlbfs_mknod(struct inode *dir,
-                       struct dentry *dentry, int mode, dev_t dev)
+                       struct dentry *dentry, umode_t mode, dev_t dev)
 {
        struct inode *inode;
        int error = -ENOSPC;