From: Michael Halcrow Date: Thu, 16 Oct 2008 05:02:49 +0000 (-0700) Subject: eCryptfs: remove retry loop in ecryptfs_readdir() X-Git-Tag: v2.6.28-rc1~449 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6c7045581d3736c5f14053eb59342aa0b2cc07;p=pandora-kernel.git eCryptfs: remove retry loop in ecryptfs_readdir() The retry block in ecryptfs_readdir() has been in the eCryptfs code base for a while, apparently for no good reason. This loop could potentially run without terminating. This patch removes the loop, instead erroring out if vfs_readdir() on the lower file fails. Signed-off-by: Michael Halcrow Reported-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed