configfs: Fix inconsistent use of file_inode() vs file->f_path.dentry->d_inode
authorDavid Howells <dhowells@redhat.com>
Mon, 2 Mar 2015 16:40:32 +0000 (16:40 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Apr 2015 19:05:31 +0000 (15:05 -0400)
commit6683de3886a313ae3d4b8c0323313a987073481b
tree879f16185a059d0fbaf85d0b230a9fede728a0d3
parent4bbcbd3b11dbc676a272be508e47d1c4a5056349
configfs: Fix inconsistent use of file_inode() vs file->f_path.dentry->d_inode

Fix inconsistent use of file_inode() vs file->f_path.dentry->d_inode.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/configfs/dir.c