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:
020963e
)
Branch b1_8_gate
author
huanghua
<huanghua>
Wed, 20 Aug 2008 03:48:49 +0000
(
03:48
+0000)
committer
huanghua
<huanghua>
Wed, 20 Aug 2008 03:48:49 +0000
(
03:48
+0000)
b=16248
i=yury.umanets
i=nikita.danilov
i=oleg.drokin
limit inode number within 2^32
lustre/llite/namei.c
patch
|
blob
|
history
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
5980bc1
..
a49b9ab
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-85,7
+85,7
@@
ino_t ll_fid_build_ino(struct ll_sb_info *sbi,
* Very stupid and having many downsides inode allocation algorithm
* based on fid.
*/
- ino = fid_flatten((struct lu_fid*)fid);
+ ino = fid_flatten((struct lu_fid*)fid)
& 0xFFFFFFFF
;
if (unlikely(ino == 0))
/* the first result ino is 0xFFC001, so this is rarely used */