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:
7c13e93
)
b: 2226
author
niu
<niu>
Thu, 4 Dec 2003 01:10:02 +0000
(
01:10
+0000)
committer
niu
<niu>
Thu, 4 Dec 2003 01:10:02 +0000
(
01:10
+0000)
r: Phil
Set correct last object id when cleaning up orphans during mds setting up.
lustre/osc/osc_create.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_create.c
b/lustre/osc/osc_create.c
index
0b8c509
..
21a2be7
100644
(file)
--- a/
lustre/osc/osc_create.c
+++ b/
lustre/osc/osc_create.c
@@
-224,7
+224,7
@@
int osc_create(struct obd_export *exp, struct obdo *oa,
spin_lock(&oscc->oscc_lock);
if (rc == -ENOSPC)
oscc->oscc_flags |= OSCC_FLAG_NOSPC;
- oscc->oscc_last_id = o
scc->oscc_next_id - 1
;
+ oscc->oscc_last_id = o
a->o_id
;
spin_unlock(&oscc->oscc_lock);
RETURN(rc);