]> git.baikalelectronics.ru Git - kernel.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>
Tue, 17 Feb 2015 17:21:51 +0000 (12:21 -0500)
commite5ea01032f58d7f6b3f00e590980c7ef7bf19f0b
treed1194fe02bcb93cd0fbf4924c9756158717338e9
parentc9fa23acb791a73c2967fbd1d1fddc1c011a6fe8
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