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:
29f6208
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Tue, 15 Aug 2006 02:42:01 +0000
(
02:42
+0000)
committer
wangdi
<wangdi>
Tue, 15 Aug 2006 02:42:01 +0000
(
02:42
+0000)
it should check MA_LOV before unlink log
lustre/mdd/mdd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_handler.c
b/lustre/mdd/mdd_handler.c
index
47c9041
..
cb3dadf
100644
(file)
--- a/
lustre/mdd/mdd_handler.c
+++ b/
lustre/mdd/mdd_handler.c
@@
-973,7
+973,7
@@
static int __mdd_finish_unlink(const struct lu_context *ctxt,
ma->ma_attr.la_nlink == 0 &&
S_ISREG(mdd_object_type(obj))) {
rc = __mdd_lmm_get(ctxt, obj, ma);
- if (rc == 0)
+ if (rc == 0
&& ma->ma_valid & MA_LOV
)
rc = mdd_unlink_log(ctxt,
mdo2mdd(&obj->mod_obj),
obj, ma);