Wengang Wang 5cffff9e29 ocfs2: Fix ocfs2_page_mkwrite()
This patch address two shortcomings in ocfs2_page_mkwrite():
1. Makes the function return better VM_FAULT_* errors.
2. It handles a error that is triggered when a page is dropped from the mapping
due to memory pressure. This patch locks the page to prevent that.

[Patch was cleaned up by Sunil Mushran.]

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
2011-07-24 10:36:54 -07:00
..
2011-05-23 23:37:20 -07:00
2011-07-24 10:36:54 -07:00
2011-03-31 11:26:23 -03:00
2010-09-08 14:25:53 +08:00
2010-09-10 09:18:15 -07:00
2009-04-03 11:39:16 -07:00
2011-03-31 11:26:23 -03:00
2010-09-10 09:18:15 -07:00
2011-03-31 11:26:23 -03:00
2011-03-07 16:43:21 +08:00
2011-02-21 11:18:23 +08:00
2008-10-13 13:57:57 -07:00
2011-07-24 10:36:54 -07:00
2011-05-23 23:37:20 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-24 10:34:54 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-24 10:34:54 -07:00
2011-03-07 16:43:21 +08:00
2011-02-24 16:22:20 +08:00
2011-03-31 11:26:23 -03:00