Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2154 osp: precreate logic to use last assigned id
[fs/lustre-release.git]
/
lustre
/
osp
/
lproc_osp.c
diff --git
a/lustre/osp/lproc_osp.c
b/lustre/osp/lproc_osp.c
index
21839f4
..
8488322
100644
(file)
--- a/
lustre/osp/lproc_osp.c
+++ b/
lustre/osp/lproc_osp.c
@@
-291,7
+291,7
@@
static int osp_rd_prealloc_next_id(char *page, char **start, off_t off,
if (osp == NULL)
return 0;
- return snprintf(page, count, LPU64"\n", osp->opd_pre_
next
);
+ return snprintf(page, count, LPU64"\n", osp->opd_pre_
used_id + 1
);
}
static int osp_rd_prealloc_last_id(char *page, char **start, off_t off,