diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c index b6678aac9..1be5f9003 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -844,8 +844,6 @@ unsigned int get_next_ino(void) unsigned int *p = &get_cpu_var(last_ino); unsigned int res = *p; -start: - #ifdef CONFIG_SMP if (unlikely((res & (LAST_INO_BATCH-1)) == 0)) { static atomic_t shared_last_ino; @@ -858,7 +856,7 @@ start: res++; /* get_next_ino should not provide a 0 inode number */ if (unlikely(!res)) - goto start; + res++; *p = res; put_cpu_var(last_ino); return res; |