Whamcloud - gitweb
LU-2675 mdt: add mbo_ prefix to members of struct mdt_body
[fs/lustre-release.git] / lustre / llite / llite_nfs.c
index 3dd1183..d92424f 100644 (file)
@@ -335,10 +335,10 @@ int ll_dir_get_parent_fid(struct inode *dir, struct lu_fid *parent_fid)
         * LU-3952: MDT may lost the FID of its parent, we should not crash
         * the NFS server, ll_iget_for_nfs() will handle the error.
         */
         * LU-3952: MDT may lost the FID of its parent, we should not crash
         * the NFS server, ll_iget_for_nfs() will handle the error.
         */
-       if (body->valid & OBD_MD_FLID) {
+       if (body->mbo_valid & OBD_MD_FLID) {
                CDEBUG(D_INFO, "parent for "DFID" is "DFID"\n",
                CDEBUG(D_INFO, "parent for "DFID" is "DFID"\n",
-                      PFID(ll_inode2fid(dir)), PFID(&body->fid1));
-               *parent_fid = body->fid1;
+                      PFID(ll_inode2fid(dir)), PFID(&body->mbo_fid1));
+               *parent_fid = body->mbo_fid1;
        }
 
        ptlrpc_req_finished(req);
        }
 
        ptlrpc_req_finished(req);