X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fliblustre%2Ffile.c;h=32f41aea637a142461a83a03b9a30e0c95bb8c81;hp=c166ca9cafc708a863e04d93522ed2ec40abb356;hb=4c01e64e0a72c1682ebf0a8bd4cccf99fd04cd88;hpb=9d9b3fa84a5fafe7ea0906b5cdae3be119a62b25 diff --git a/lustre/liblustre/file.c b/lustre/liblustre/file.c index c166ca9..32f41ae 100644 --- a/lustre/liblustre/file.c +++ b/lustre/liblustre/file.c @@ -49,17 +49,6 @@ #include #include -#include -#ifdef HAVE_XTIO_H -#include -#endif -#include -#include -#include -#ifdef HAVE_FILE_H -#include -#endif - #include "llite_lib.h" /* Pack the required supplementary groups into the supplied groups array. @@ -304,9 +293,10 @@ int llu_objects_destroy(struct ptlrpc_request *req, struct inode *dir) GOTO(out_free_memmd, rc = -ENOMEM); oa->o_id = lsm->lsm_object_id; - oa->o_gr = lsm->lsm_object_gr; + oa->o_seq = lsm->lsm_object_seq; oa->o_mode = body->mode & S_IFMT; oa->o_valid = OBD_MD_FLID | OBD_MD_FLTYPE | OBD_MD_FLGROUP; + obdo_from_inode(oa, NULL, &llu_i2info(dir)->lli_fid, 0); if (body->valid & OBD_MD_FLCOOKIE) { oa->o_valid |= OBD_MD_FLCOOKIE;