]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
debugfs: Provide a file creation function that also takes an initial size
authorDavid Howells <dhowells@redhat.com>
Wed, 21 Jan 2015 20:03:40 +0000 (20:03 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Jan 2015 04:23:23 +0000 (23:23 -0500)
commit163f9eb95a10371ead59b62087e0d4e7ce53112e
treed1194fe02bcb93cd0fbf4924c9756158717338e9
parent77b3da6e3232d3b4d4b8addb4b05799fe98f3bf8
debugfs: Provide a file creation function that also takes an initial size

Provide a file creation function that also takes an initial size so that the
caller doesn't have to set i_size, thus meaning that we don't have to call
deal with ->d_inode in the callers.

Signed-off-by: David Howells <dhowells@redhat.com>
drivers/infiniband/hw/cxgb4/device.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/scsi/csiostor/csio_init.c
drivers/usb/gadget/udc/atmel_usba_udc.c
fs/debugfs/inode.c
include/linux/debugfs.h