diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-10 10:43:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-10 22:20:16 -0400 |
commit | 6920a4405e6ff7813de4d5a9eb5e0b475e41a06b (patch) | |
tree | ebed3fe2c3b616b9793dcf58bbe54c3a20e8ae76 /README | |
parent | 6e77137b363b8d866ac29c5a0c95e953614fb2d8 (diff) | |
download | lwn-6920a4405e6ff7813de4d5a9eb5e0b475e41a06b.tar.gz lwn-6920a4405e6ff7813de4d5a9eb5e0b475e41a06b.zip |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions