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>
Tue, 17 Feb 2015 17:21:51 +0000 (12:21 -0500)
commite59b4e9187bd5175b9845dc10fedb0879b7efbfd
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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