diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2014-10-27 13:48:48 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-28 23:31:54 +0100 |
commit | c2096537d40f026672c4c6adfcd7247ce5799604 (patch) | |
tree | 7b9b23927f0fe340bd1866269b10b77974c9bb74 /fs/namei.c | |
parent | overlayfs: barriers for opening upper-layer directory (diff) | |
download | linux-c2096537d40f026672c4c6adfcd7247ce5799604.tar.xz linux-c2096537d40f026672c4c6adfcd7247ce5799604.zip |
ovl: fix check for cursor
ovl_cache_entry.name is now an array not a pointer, so it makes no sense
test for it being NULL.
Detected by coverity.
From: Miklos Szeredi <mszeredi@suse.cz>
Fixes: 68bf8611076a ("overlayfs: make ovl_cache_entry->name an array instead of
+pointer")
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions