From 10412bfccc00708663034a76b1a3c66058bb7545 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 6 Jun 2014 11:45:03 +0200 Subject: ext2fs: fix type of retry_dotdot * ext2fs/dir.c (diskfs_lookup_hard): Use ino_t for retry_dotdot. --- ext2fs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs/dir.c') diff --git a/ext2fs/dir.c b/ext2fs/dir.c index 5a298f0b..337314c1 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -140,7 +140,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, size_t namelen; int spec_dotdot; struct node *np = 0; - int retry_dotdot = 0; + ino_t retry_dotdot = 0; vm_prot_t prot = (type == LOOKUP) ? VM_PROT_READ : (VM_PROT_READ | VM_PROT_WRITE); memory_object_t memobj; -- cgit v1.2.3