Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a771cf
)
Branch b_new_cmd
author
vitaly
<vitaly>
Wed, 27 Sep 2006 18:27:58 +0000
(18:27 +0000)
committer
vitaly
<vitaly>
Wed, 27 Sep 2006 18:27:58 +0000
(18:27 +0000)
drop NOSPC flag on unlink
lustre/mdd/mdd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_handler.c
b/lustre/mdd/mdd_handler.c
index
df3b80c
..
cc262ab
100644
(file)
--- a/
lustre/mdd/mdd_handler.c
+++ b/
lustre/mdd/mdd_handler.c
@@
-1588,6
+1588,11
@@
static int mdd_unlink(const struct lu_context *ctxt,
GOTO(cleanup, rc);
rc = __mdd_finish_unlink(ctxt, mdd_cobj, ma, handle);
+
+ if (rc == 0)
+ obd_set_info_async(mdd2obd_dev(mdd)->u.mds.mds_osc_exp,
+ strlen("unlinked"), "unlinked", 0,
+ NULL, NULL);
cleanup:
mdd_unlock2(ctxt, mdd_pobj, mdd_cobj);