summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-10-31 20:02:42 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-31 17:47:51 -0400
commit9f2f7d4c8dfcf4617af5de6ea381b91deac3db48 (patch)
treeb93171e6eecc32536d6e25bb97b9bf3d23559006
parentb2de525f095708b2adbadaec3f1e4017a23d1e09 (diff)
ovl: initialize ->is_cursor
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/overlayfs/readdir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/readdir.c b/fs/overlayfs/readdir.c
index 401f0840f5c..4e9d7c1fea5 100644
--- a/fs/overlayfs/readdir.c
+++ b/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;