Browse Source

ovl: initialize ->is_cursor

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Miklos Szeredi 10 years ago
parent
commit
9f2f7d4c8d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fs/overlayfs/readdir.c

+ 1 - 0
fs/overlayfs/readdir.c

@@ -93,6 +93,7 @@ static struct ovl_cache_entry *ovl_cache_entry_new(const char *name, int len,
 		p->type = d_type;
 		p->ino = ino;
 		p->is_whiteout = false;
+		p->is_cursor = false;
 	}
 
 	return p;