VFS: Fix up some ->d_inode accesses in the chelsio driver
authorDavid Howells <dhowells@redhat.com>
Fri, 6 Mar 2015 14:24:37 +0000 (14:24 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Apr 2015 19:06:54 +0000 (15:06 -0400)
commitc1d81b1cf937027d23f7e53cdd12328799028c6a
tree08bad0c9ca22168a42f278c199477bd6f4ffd3e1
parent5153bc817cdbed826a18938393cc1f81ebbbd898
VFS: Fix up some ->d_inode accesses in the chelsio driver

Fix up some ->d_inode accesses in the chelsio driver.

 (1) FILE_DATA() should just be replaced with file_inode().

 (2) set_debugfs_file_size() should be removed and debugfs_create_file_size()
     should be used to create the file.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.h