I am working in kernel, and in my application there's a point in which I have to get an empty inode, but every time y try to load the kernel module, the function is undefined.

The thing is that the function new_inode gets a superblock parameter, I just need something like get_empty_inode(), without parameters,

Can anyone help me?

Thanks in advance