• Patrick Mochel's avatar
    driverfs: stop using vfs layer for file creation · 99264544
    Patrick Mochel authored
    This is the first of a series of patches to driverfs to _not_ use the vfs layer for file creation
    and deletion. 
    The VFS layer is allowing files and directories to be removed from userspace, which we don't want 
    at all. 
    
    Per Al Viro's suggesting, I am pushing the necessary checks from the vfs_* functions into the 
    driverfs functions, and calling them directly from the kernel interface to driverfs.
    
    This is the first, for file creation
    99264544
inode.c 17.3 KB