summaryrefslogtreecommitdiff
path: root/fs/overlayfs/readdir.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-10-31 22:02:42 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2014-11-01 00:47:51 +0300
commit9f2f7d4c8dfcf4617af5de6ea381b91deac3db48 (patch)
treeb93171e6eecc32536d6e25bb97b9bf3d23559006 /fs/overlayfs/readdir.c
parentb2de525f095708b2adbadaec3f1e4017a23d1e09 (diff)
downloadlinux-9f2f7d4c8dfcf4617af5de6ea381b91deac3db48.tar.xz
ovl: initialize ->is_cursor
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/overlayfs/readdir.c')
-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 401f0840f5cc..4e9d7c1fea52 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;