From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: [git pull] debugfs stuff Date: Tue, 17 Feb 2015 17:29:20 +0000 Message-ID: <20150217172920.GJ29656@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Linus Torvalds Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Next pile: 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. BTW, this branch differs from what had been merged into #for-next in one respect - I'd added my s-o-b to the last commit. Otherwise they are identical (i.e. the same parent and tree SHA1 in there); hopefully, merging that one in mainline won't confuse git into conflicts for linux-next... Please, pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git debugfs_automount Shortlog: Al Viro (11): debugfs_{mkdir,create,link}(): get rid of redundant argument debugfs: split the beginning and the end of __create_file() off debugfs: kill __create_file() fold debugfs_link() into caller debugfs_mknod(): get rid useless arguments fold debugfs_mkdir() into caller fold debugfs_create() into caller fold debugfs_mknod() into callers debugfs: take mode-dependent parts of debugfs_get_inode() into callers debugfs: split end_creating() into success and failure cases new primitive: debugfs_create_automount() David Howells (1): debugfs: Provide a file creation function that also takes an initial size Diffstat: drivers/infiniband/hw/cxgb4/device.c | 35 +-- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 9 +- drivers/scsi/csiostor/csio_init.c | 9 +- drivers/usb/gadget/udc/atmel_usba_udc.c | 15 +- fs/debugfs/inode.c | 291 ++++++++++++--------- include/linux/debugfs.h | 18 ++ 6 files changed, 212 insertions(+), 165 deletions(-)