Whamcloud - gitweb
LU-3233 llite: use correct FID in ll_och_fill()
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 19 Jun 2013 00:50:56 +0000 (19:50 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Aug 2013 05:49:52 +0000 (01:49 -0400)
commit5658cb8373b7a4730049203fd5a30c8b2a441c00
treeb3fd70f9e1308b3cccd863e633704fe1b2d9228c
parentdf01bb37a5e8992ade0ab74386bc76a6d42e0235
LU-3233 llite: use correct FID in ll_och_fill()

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>
lustre/llite/file.c