summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/mmap.c
diff options
context:
space:
mode:
authorMichael Halcrow <mhalcrow@us.ibm.com>2008-10-16 09:02:49 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 22:21:38 +0400
commit7d6c7045581d3736c5f14053eb59342aa0b2cc07 (patch)
tree3906a3e8b0d4a2e4752c4eb19defc62691d200d7 /fs/ecryptfs/mmap.c
parent9d793b0bcbbbc37d80241862dfa5257963d5415e (diff)
downloadlinux-7d6c7045581d3736c5f14053eb59342aa0b2cc07.tar.xz
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 <mhalcrow@us.ibm.com> Reported-by: Al Viro <viro@ZinIV.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/mmap.c')
0 files changed, 0 insertions, 0 deletions