lustre: switch ll_intent_file_open() to struct dentry *
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 8 May 2014 01:24:47 +0000 (21:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 Nov 2014 20:21:11 +0000 (15:21 -0500)
commit48eddfd5ca591d2bd97594afd58cffa6b5a48ef4
tree97eada0ec16e98c46a101c8b407a4b47c506a215
parent946e51f2bf37f1656916eb75bd0742ba33983c28
lustre: switch ll_intent_file_open() to struct dentry *

... because fake struct file is wrong.

ll_prep_inode() in there is an atrocity - despite passing a pointer to
inode by address, it actually only uses the value when that value is
non-NULL, as it will be here.

Oh, and ->d_parent of anything is never NULL.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/lustre/lustre/llite/file.c