Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- CROW (CReate On Write) (precreation is removed)
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_unlink_open.c
diff --git
a/lustre/mds/mds_unlink_open.c
b/lustre/mds/mds_unlink_open.c
index
b1a171e
..
c480885
100644
(file)
--- a/
lustre/mds/mds_unlink_open.c
+++ b/
lustre/mds/mds_unlink_open.c
@@
-83,8
+83,10
@@
mds_unlink_object(struct mds_obd *mds, struct inode *inode,
CDEBUG(D_INODE, "destroy OSS object %d/%d\n",
(int)oa->o_id, (int)oa->o_gr);
+
+ if (async)
+ oti.oti_flags |= OBD_MODE_ASYNC;
- oti.oti_async = async;
rc = obd_destroy(mds->mds_dt_exp, oa, lsm, &oti);
obdo_free(oa);
out_free_memmd: