Skip to content
Commit 1a97d899 authored by Al Viro's avatar Al Viro
Browse files

Make sure that make_create_in_sticky() never sees uninitialized value of dir_mode



make sure nd->dir_mode is always initialized after success exit from
link_path_walk(); in case of empty path it did not happen.

Reported-by: default avatarAnant Thazhemadam <anant.thazhemadam@gmail.com>
Tested-by: default avatarAnant Thazhemadam <anant.thazhemadam@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 77573fa3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment