From: Dmitriy Monakhov Date: Mon, 5 Mar 2007 08:30:47 +0000 (-0800) Subject: [PATCH] ecryptfs: handle AOP_TRUNCATED_PAGE better X-Git-Tag: v2.6.21-rc3~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8fa74ab529f23f812092ece8d7a4766af092332;p=pandora-kernel.git [PATCH] ecryptfs: handle AOP_TRUNCATED_PAGE better - In fact we don't have to fail if AOP_TRUNCATED_PAGE was returned from prepare_write or commit_write. It is beter to retry attempt where it is possible. - Rearange ecryptfs_get_lower_page() error handling logic, make it more clean. Signed-off-by: Dmitriy Monakhov Acked-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed