]> git.baikalelectronics.ru Git - kernel.git/commit
make iunique use a do/while loop rather than its obscure goto loop
authorJeffrey Layton <jlayton@redhat.com>
Tue, 8 May 2007 07:29:48 +0000 (00:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:10 +0000 (11:15 -0700)
commit7c13e5878e7bbc21797164cebf79a9d65acef0db
tree53c5ee74c70ed9727964996f3cf2fa4a0ff368ea
parent1f3a0a03cab55967c6b75609e9b12d899c02bc2b
make iunique use a do/while loop rather than its obscure goto loop

A while back, Christoph mentioned that he thought that iunique ought to be
cleaned up to use a more conventional loop construct. This patch does that,
turning the strange goto loop into a do/while.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/inode.c