mempolicy: support optional mode flags
[linux-2.6.git] / fs / hugetlbfs / inode.c
index 6846785..2e9e5bd 100644 (file)
@@ -504,7 +504,7 @@ static struct inode *hugetlbfs_get_inode(struct super_block *sb, uid_t uid,
                inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
                INIT_LIST_HEAD(&inode->i_mapping->private_list);
                info = HUGETLBFS_I(inode);
-               mpol_shared_policy_init(&info->policy, MPOL_DEFAULT, NULL);
+               mpol_shared_policy_init(&info->policy, MPOL_DEFAULT, 0, NULL);
                switch (mode & S_IFMT) {
                default:
                        init_special_inode(inode, mode, dev);