From e42415db2707d3a19b7cac6a97fbab396fb0f638 Mon Sep 17 00:00:00 2001 From: huanghua Date: Wed, 20 Aug 2008 03:50:23 +0000 Subject: [PATCH] Branch HEAD b=16248 i=yury.umanets i=nikita.danilov i=oleg.drokin limit inode number within 2^32 --- lustre/llite/llite_fid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/llite/llite_fid.c b/lustre/llite/llite_fid.c index cc9d286..15c4021 100644 --- a/lustre/llite/llite_fid.c +++ b/lustre/llite/llite_fid.c @@ -69,7 +69,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(fid); + ino = fid_flatten(fid) & 0xFFFFFFFF; if (unlikely(ino == 0)) /* the first result ino is 0xFFC001, so this is rarely used */ -- 1.8.3.1