summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAl Viro2015-05-04 23:47:11 +0200
committerAl Viro2015-05-11 04:20:12 +0200
commit4693a547cded42807ec468947b4d5287f2cb6aa9 (patch)
treecd945ed0efeddbc285f36492a97b459a7bbe32f0 /Documentation
parentlink_path_walk: move the OK: inside the loop (diff)
downloadkernel-qcow2-linux-4693a547cded42807ec468947b4d5287f2cb6aa9.tar.gz
kernel-qcow2-linux-4693a547cded42807ec468947b4d5287f2cb6aa9.tar.xz
kernel-qcow2-linux-4693a547cded42807ec468947b4d5287f2cb6aa9.zip
namei: new calling conventions for walk_component()
instead of a single flag (!= 0 => we want to follow symlinks) pass two bits - WALK_GET (want to follow symlinks) and WALK_PUT (put_link() once we are done looking at the name). The latter matters only for success exits - on failure the caller will discard everything anyway. Suggestions for better variant are welcome; what this thing aims for is making sure that pending put_link() is done *before* walk_component() decides to pick a symlink up, rather than between picking it up and acting upon it. See the next commit for payoff. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions