commit | 6920a4405e6ff7813de4d5a9eb5e0b475e41a06b | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun May 10 10:43:46 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 10 22:20:16 2015 -0400 |
tree | ebed3fe2c3b616b9793dcf58bbe54c3a20e8ae76 | |
parent | 6e77137b363b8d866ac29c5a0c95e953614fb2d8 [diff] |
namei: simplify failure exits in get_link() when cookie is NULL, put_link() is equivalent to path_put(), so as soon as we'd set last->cookie to NULL, we can bump nd->depth and let the normal logics in terminate_walk() to take care of cleanups. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>