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:
499317d
)
fix a typo
author
huanghua
<huanghua>
Fri, 13 Oct 2006 04:25:03 +0000
(
04:25
+0000)
committer
huanghua
<huanghua>
Fri, 13 Oct 2006 04:25:03 +0000
(
04:25
+0000)
lustre/mdd/mdd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_handler.c
b/lustre/mdd/mdd_handler.c
index
7daf4d3
..
1f73d7d
100644
(file)
--- a/
lustre/mdd/mdd_handler.c
+++ b/
lustre/mdd/mdd_handler.c
@@
-2747,7
+2747,7
@@
static int mdd_rt_sanity_check(const struct lu_env *env,
}
/* source should not be ancestor of target dir */
- if (
!rc &
&& src_is_dir && mdd_is_parent(env, mdd, tgt_pobj, sfid, NULL))
+ if (
rc == 0
&& src_is_dir && mdd_is_parent(env, mdd, tgt_pobj, sfid, NULL))
RETURN(-EINVAL);
RETURN(rc);