Whamcloud - gitweb
LU-3233 llite: use correct FID in ll_och_fill() 95/6695/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 19 Jun 2013 00:50:56 +0000 (19:50 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 19 Jul 2013 04:35:48 +0000 (04:35 +0000)
When ll_intent_file_open() is called on a file with a stale dentry,
ll_och_fill() may incorrectly use the FID from the struct
ll_inode_info rather than the FID from the response body (which is the
correct FID for the close). Fix this, remove the ll_inode_info
parameter from ll_och_fill(), and move the call to ll_ioepoch_open()
from ll_och_fill() to ll_local_open().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ic4c97d82259b4b922e8b5be235d2db188406bc06
Reviewed-on: http://review.whamcloud.com/6695
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found