Probleam reading fdinfo symlinks after30a08bf2d31d275c6fc71dd1811342777e95c831

From: Cyrill Gorcunov
Date: Mon Jun 04 2012 - 11:14:08 EST


Hi Linus,

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.

| [root@neptune~]# cat /proc/`pidof crond`/fdinfo/0
| cat: /proc/1417/fdinfo/0: Too many levels of symbolic links

so I reverted it manually and now it works as expected

| [root@neptune ~]# cat /proc/`pidof crond`/fdinfo/0
| pos: 0
| flags: 0100002

I suspect this is unintentional behaviour of the commit.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/