[PATCH] __page_symlink retry loop error code fix
authorDmitriy Monakhov <dmonakhov@openvz.org>
Fri, 16 Feb 2007 09:27:18 +0000 (01:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 16 Feb 2007 16:13:56 +0000 (08:13 -0800)
commitbeb497ab48b1639282129f7bc18fef311fffff3d
treebd7852757e908eb3702eeb214556c2538abf4ded
parentfb4d64e78ceab77cf20f7796f74aa10ebe862032
[PATCH] __page_symlink retry loop error code fix

If prepare_write or commit_write return AOP_TRUNCATED_PAGE we jump to
"retry" label and than if find_or_create_page() failed function return
incorrect error code.

Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c