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
LU-2613 recovery: free open/close request promptly
[fs/lustre-release.git]
/
lustre
/
mdc
/
mdc_reint.c
diff --git
a/lustre/mdc/mdc_reint.c
b/lustre/mdc/mdc_reint.c
index
b28b332
..
56e2d74
100644
(file)
--- a/
lustre/mdc/mdc_reint.c
+++ b/
lustre/mdc/mdc_reint.c
@@
-171,6
+171,7
@@
int mdc_setattr(struct obd_export *exp, struct md_op_data *op_data,
req->rq_cb_data = *mod;
(*mod)->mod_open_req = req;
req->rq_commit_cb = mdc_commit_open;
+ (*mod)->mod_is_create = true;
/**
* Take an extra reference on \var mod, it protects \var
* mod from being freed on eviction (commit callback is