From: Al Viro Date: Thu, 24 Dec 2009 07:27:30 +0000 (-0500) Subject: bail out with ELOOP earlier in do_link loop X-Git-Tag: v2.6.34-rc1~195^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99658fe970f442199733bcace1a00b087336a0d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed