diff options
author | Wengang Wang <wen.gang.wang@oracle.com> | 2011-07-24 10:36:54 -0700 |
---|---|---|
committer | Sunil Mushran <sunil.mushran@oracle.com> | 2011-07-24 10:36:54 -0700 |
commit | 5cffff9e29866a3de98c2c25135b3199491f93b0 (patch) | |
tree | 11b53cb3ad7cb44adb80f7802a62c145bf713514 /drivers/net/de620.h | |
parent | a035bff6b82aca89c1223e2c614adc2d17ec8aa2 (diff) |
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>
Diffstat (limited to 'drivers/net/de620.h')
0 files changed, 0 insertions, 0 deletions