GFS2: Fix page_mkwrite() return code
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 20 Apr 2009 08:45:54 +0000 (09:45 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 20 Apr 2009 15:02:02 +0000 (16:02 +0100)
commite56985da455b9dc0591b8cb2006cc94b6f4fb0f4
tree0ae2bf7a5001fbf9fdc9dc027c03e63670303b85
parent52fcd11c0900b0cbc584eeda12a6e27dd6c9d046
GFS2: Fix page_mkwrite() return code

This allows for the possibility of returning VM_FAULT_OOM as
well as VM_FAULT_SIGBUS. This ensures that the correct action
is taken.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c