Re: Probleam reading fdinfo symlinks after 30a08bf2d31d275c6fc71dd1811342777e95c831

From: Linus Torvalds
Date: Mon Jun 04 2012 - 13:59:50 EST


On Mon, Jun 4, 2012 at 8:14 AM, Cyrill Gorcunov <gorcunov@xxxxxxxxxx> wrote:
>
> just tried 3.5-rc1 out and found that with commit
> 30a08bf2d31d275c6fc71dd1811342777e95c831 the reading
> of fdinfo files returns "Too many levels of symbolic links"
> error.

Ugh. The fdinfo files aren't symlinks at all, and share the revalidate function.

My bad. The fix isn't pretty, but still better than reverting things.
This should fix it.

Linus

Attachment: patch.diff
Description: Binary data