diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-10 18:50:01 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 05:20:19 +0300 |
commit | ab10492345d1d629743c7e7d56532f4e5284c2c5 (patch) | |
tree | 49d4876e545dc24eda81ae9b23f56394cdbf8cd9 /drivers/hid | |
parent | 1cf2665b5bdfc63185fb4a416bff54b14ad30c79 (diff) | |
download | linux-ab10492345d1d629743c7e7d56532f4e5284c2c5.tar.xz |
namei: take increment of nd->depth into pick_link()
Makes the situation much more regular - we avoid a strange state
when the element just after the top of stack is used to store
struct path of symlink, but isn't counted in nd->depth. This
is much more regular, so the normal failure exits, etc., work
fine.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions