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:
84798f3
)
Branch b_new_cmd
author
vitaly
<vitaly>
Sun, 22 Oct 2006 20:43:43 +0000
(20:43 +0000)
committer
vitaly
<vitaly>
Sun, 22 Oct 2006 20:43:43 +0000
(20:43 +0000)
do not pack MA_LOV on unlink if nlink > 1
lustre/mdd/mdd_dir.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_dir.c
b/lustre/mdd/mdd_dir.c
index
5486ebd
..
221e49e
100644
(file)
--- a/
lustre/mdd/mdd_dir.c
+++ b/
lustre/mdd/mdd_dir.c
@@
-446,8
+446,9
@@
int mdd_finish_unlink(const struct lu_env *env,
/* clear MA_LOV | MA_COOKIE, if we do not
* unlink it in case we get it somewhere */
ma->ma_valid &= ~(MA_LOV | MA_COOKIE);
+ } else
+ ma->ma_valid &= ~(MA_LOV | MA_COOKIE);
- }
RETURN(rc);
}