From: huanghua Date: Wed, 20 Aug 2008 03:48:49 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_100~1^274~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e6e737d5ae79d80e8c0ed55d8a10ce51f27e4030;p=fs%2Flustre-release.git Branch b1_8_gate b=16248 i=yury.umanets i=nikita.danilov i=oleg.drokin limit inode number within 2^32 --- diff --git a/lustre/llite/namei.c b/lustre/llite/namei.c index 5980bc1..a49b9ab 100644 --- 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 */