Hi,
I see in elixir that there 4 calls in the kernel. In two of them fput is used for cleanup, and in coredump.c filp_close is used.
The function has no documentation and no information resides in the kernel's Documentation directory.

What is the correct way to cleanup the file?

Thanks, 
Tamir