Revert "gator-driver: kernel API change for d_alloc_root"
[android-sdk/arm-ds5-gator.git] / driver / gator_fs.c
index 82d08e28df756668e5aa6ad34f18a39a4639ce9f..8277c3aac3eb3fadc58209406d0d19c29f954d47 100644 (file)
@@ -233,7 +233,7 @@ static int gatorfs_fill_super(struct super_block *sb, void *data, int silent)
                return -ENOMEM;
        root_inode->i_op = &simple_dir_inode_operations;
        root_inode->i_fop = &simple_dir_operations;
-       root_dentry = d_make_root(root_inode);
+       root_dentry = d_alloc_root(root_inode);
        if (!root_dentry) {
                iput(root_inode);
                return -ENOMEM;