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:
77ee60e
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Tue, 17 Oct 2006 11:16:17 +0000
(11:16 +0000)
committer
wangdi
<wangdi>
Tue, 17 Oct 2006 11:16:17 +0000
(11:16 +0000)
check group correctly for filter precreate
lustre/obdfilter/filter.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter.c
b/lustre/obdfilter/filter.c
index
8827ca3
..
5fb77d9
100644
(file)
--- a/
lustre/obdfilter/filter.c
+++ b/
lustre/obdfilter/filter.c
@@
-3134,7
+3134,7
@@
static int filter_handle_precreate(struct obd_export *exp, struct obdo *oa,
GOTO(out, rc = 0);
}
/* only precreate if group == 0 and o_id is specfied */
- if (group
!=
0 || oa->o_id == 0)
+ if (group
< FILTER_GROUP_MDS
0 || oa->o_id == 0)
diff = 1;
else
diff = oa->o_id - filter_last_id(filter, group);