title: Kernel system call to create a new file
body: <p>I am trying to learn some concepts about the VFS in the Linux Kernel and I can't seem to find which call(s) are made when creating a new file. I am specially interested in knowing how to know if the folder the file is going to be created in is a valid folder. Could some one point in the direction of the system call(s) to create a new file?</p>
  
  <p>P.S. I'm using kernel 3.4</p>