diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-24 02:27:30 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-05 09:01:22 -0500 |
commit | c99658fe970f442199733bcace1a00b087336a0d (patch) | |
tree | b9065b274d8f00639af43bbb8e4eaabcda5b559d /fs/qnx4 | |
parent | a1e28038df98e186807ff55a49c1c26d33d530a5 (diff) | |
download | talos-obmc-linux-c99658fe970f442199733bcace1a00b087336a0d.tar.gz talos-obmc-linux-c99658fe970f442199733bcace1a00b087336a0d.zip |
bail out with ELOOP earlier in do_link loop
If we'd passed through 32 trailing symlinks already, there's
no sense following the 33rd - we'll bail out anyway. Better
bugger off earlier.
It *does* change behaviour, after a fashion - if the 33rd happens
to be a procfs-style symlink, original code *would* allow it.
This one will not. Cry me a river if that hurts you. Please, do.
And post a video of that, while you are at it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions