Skip to content
  • Linus Torvalds's avatar
    Merge branch 'debugfs_automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · c6b1de1b
    Linus Torvalds authored
    Pull debugfs patches from Al Viro:
     "debugfs patches, mostly to make it possible for something like tracefs
      to be transparently automounted on given directory in debugfs.
    
      New primitive in there is debugfs_create_automount(name, parent, func,
      arg), which creates a directory and makes its ->d_automount() return
      func(arg).  Another missing primitive was debugfs_create_file_size() -
      open-coded in quite a few places.  Dave's patch adds it and converts
      the open-code instances to calling it"
    
    * 'debugfs_automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      debugfs: Provide a file creation function that also takes an initial size
      new primitive: debugfs_create_automount()
      debugfs: split end_creating() into success and failure cases
      debugfs: take mode-dependent parts of debugfs_get_inode() into callers
      fold debugfs_mknod() into callers
      fold debugfs_create() into caller
      fold debugfs_mkdir() into caller
      debugfs_mknod(): get rid useless arguments
      fold debugfs_link() into caller
      debugfs: kill __create_file()
      debugfs: split the beginning and the end of __create_file() off
      debugfs_{mkdir,create,link}(): get rid of redundant argument
    c6b1de1b