diff options
author | Wengang Wang <wen.gang.wang@oracle.com> | 2011-07-24 19:36:54 +0200 |
---|---|---|
committer | Sunil Mushran <sunil.mushran@oracle.com> | 2011-07-24 19:36:54 +0200 |
commit | 5cffff9e29866a3de98c2c25135b3199491f93b0 (patch) | |
tree | 11b53cb3ad7cb44adb80f7802a62c145bf713514 /fs/ocfs2/extent_map.c | |
parent | ocfs2: Add comment about orphan scanning (diff) | |
download | linux-5cffff9e29866a3de98c2c25135b3199491f93b0.tar.xz linux-5cffff9e29866a3de98c2c25135b3199491f93b0.zip |
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 'fs/ocfs2/extent_map.c')
0 files changed, 0 insertions, 0 deletions