From f4f8b89730a3b94d5118d5ec66438e7dec8e6b3d Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 27 Jan 2004 17:04:59 +0000 Subject: minor fixes --- lib/fuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index 50ae3a8..f88653d 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -109,8 +109,8 @@ static fino_t get_ino(struct node *node) static fino_t next_ino(struct fuse *f) { - while(f->ctr == 0 || __get_node(f, f->ctr) != NULL) - f->ctr++; + do f->ctr++; + while(f->ctr == 0 || __get_node(f, f->ctr) != NULL); return f->ctr; } -- cgit v1.2.3