]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit3361c7bebbf207f57f3dd1282cd87e1e37c082ac
tree53c5ee74c70ed9727964996f3cf2fa4a0ff368ea
parent9d0633cfedde484d30eef869f749c04709ab3e42
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