summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/readdir.c
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 22:47:51 +0100
commit9f2f7d4c8dfcf4617af5de6ea381b91deac3db48 (patch)
treeb93171e6eecc32536d6e25bb97b9bf3d23559006 /fs/overlayfs/readdir.c
parentReturn short read or 0 at end of a raw device, not EIO (diff)
downloadlinux-9f2f7d4c8dfcf4617af5de6ea381b91deac3db48.tar.xz
linux-9f2f7d4c8dfcf4617af5de6ea381b91deac3db48.zip
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 '')
-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;