title: How to create a directory in user space in a Linux kernel module
body: <p>The following will create a file in user space but how can I create a directory?</p>
  
  <pre><code>struct file *filp = filp_open("/home/myuser/Desktop/newfile", O_CREAT, S_IRWXU);
  </code></pre>