commit | fab51e8ab25e1ad661ef8da42077de78477fba83 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun May 10 11:01:00 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 10 22:20:17 2015 -0400 |
tree | 172e315fc3d3fec020327a9878e522f8efec0e0d | |
parent | 4f697a5e173023a4f566339452a9d6f2cc7bd7dc [diff] |
namei: take the treatment of absolute symlinks to get_link() rather than letting the callers handle the jump-to-root part of semantics, do it right in get_link() and return the rest of the body for the caller to deal with - at that point it's treated the same way as relative symlinks would be. And return NULL when there's no "rest of the body" - those are treated the same as pure jump symlink would be. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>