From: Ryusuke Konishi Date: Fri, 31 Aug 2007 06:56:33 +0000 (-0700) Subject: eCryptfs: fix possible fault in ecryptfs_sync_page X-Git-Tag: v2.6.23-rc5~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aeb3db17fc33443d21b11d7121c5627d55717c6;p=pandora-kernel.git eCryptfs: fix possible fault in ecryptfs_sync_page This will avoid a possible fault in ecryptfs_sync_page(). In the function, eCryptfs calls sync_page() method of a lower filesystem without checking its existence. However, there are many filesystems that don't have this method including network filesystems such as NFS, AFS, and so forth. They may fail when an eCryptfs page is waiting for lock. Signed-off-by: Ryusuke Konishi Acked-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed