summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/extent_map.c
diff options
context:
space:
mode:
authorWengang Wang <wen.gang.wang@oracle.com>2011-07-24 10:36:54 -0700
committerSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:36:54 -0700
commit5cffff9e29866a3de98c2c25135b3199491f93b0 (patch)
tree11b53cb3ad7cb44adb80f7802a62c145bf713514 /fs/ocfs2/extent_map.c
parenta035bff6b82aca89c1223e2c614adc2d17ec8aa2 (diff)
downloadop-kernel-dev-5cffff9e29866a3de98c2c25135b3199491f93b0.zip
op-kernel-dev-5cffff9e29866a3de98c2c25135b3199491f93b0.tar.gz
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
OpenPOWER on IntegriCloud